diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +/target diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1a393e9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM rust:1.76.0 + +WORKDIR /usr/src/currency-exchange + +COPY . . + +RUN cargo build -r + +ENTRYPOINT [ "./target/release/currency-exchange" ]