user-svc/Dockerfile
franklinblanco 9c6d04087a commit
2022-07-13 13:38:46 -04:00

10 lines
238 B
Docker

# 1. This tells docker to use the Rust official image
FROM rust:1.62
# 2. Copy the files in your machine to the Docker image
COPY ./ ./
# Build your program for release
RUN cargo build --release
CMD [ "target/release/user-svc-actix" ]