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

12 lines
200 B
Docker
Raw Normal View History

2022-10-26 12:03:28 +02:00
FROM rust:1.64.0-slim-buster
2022-08-10 22:54:58 +02:00
2022-08-11 22:34:57 +02:00
RUN apt-get update && apt-get upgrade -y
RUN apt-get install libssl-dev
2022-08-11 22:39:41 +02:00
RUN apt-get install -y -q build-essential curl
2022-08-11 22:34:57 +02:00
2022-08-10 22:54:58 +02:00
COPY . .
RUN cargo build
2022-08-11 01:16:13 +02:00
CMD [ "cargo", "run" ]