user-svc/Dockerfile

10 lines
238 B
Docker
Raw Permalink Normal View History

2022-07-13 04:07:19 +00:00
# 1. This tells docker to use the Rust official image
2022-07-08 18:45:10 +00:00
FROM rust:1.62
2022-07-13 04:07:19 +00:00
# 2. Copy the files in your machine to the Docker image
COPY ./ ./
2022-07-08 18:35:19 +00:00
2022-07-13 04:07:19 +00:00
# Build your program for release
2022-07-13 17:38:46 +00:00
RUN cargo build --release
CMD [ "target/release/user-svc-actix" ]