Initial docker file and stuff

This commit is contained in:
2023-09-24 17:41:48 -04:00
parent 9cf92b8c1f
commit 8d60a19b44
9 changed files with 5321 additions and 6 deletions

12
service/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM rust:1.72.1-bookworm
WORKDIR /service
USER root
COPY migrations ./migrations
COPY src ./src
COPY airport-codes.json Cargo.toml diesel.toml ./
RUN cargo build --release
CMD ["./target/release/weather-service"]