cuddle-rust-plan/templates/build_release.Dockerfile
Kasper Juul Hermansen 99a5fd18a9
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Update rust Docker tag to v1.66.0
2022-12-15 20:43:30 +00:00

12 lines
200 B
Docker

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