Add Dockerfile

This commit is contained in:
Mateusz Słodkowicz 2024-03-15 15:49:23 +01:00
parent a001179dbb
commit 12c28dba29
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
2 changed files with 10 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
/target

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM rust:1.76.0
WORKDIR /usr/src/currency-exchange
COPY . .
RUN cargo build -r
ENTRYPOINT [ "./target/release/currency-exchange" ]