cuddle-rust-service-plan/templates/build_release.Dockerfile

12 lines
200 B
Docker

FROM rust:1.64.0-slim-buster
RUN apt-get update && apt-get upgrade -y
RUN apt-get install libssl-dev
RUN apt-get install -y -q build-essential curl
COPY . .
RUN cargo build
CMD [ "cargo", "run" ]