cuddle-rust-plan/templates/build_release.Dockerfile
Kasper Juul Hermansen 8fbe90f6f2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Update rust Docker tag to v1.65.0
2022-11-03 20:49:24 +00:00

12 lines
200 B
Docker

FROM rust:1.65.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" ]