diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e068cba --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM rust:latest + +COPY ./ ./ + +# install sqlx-cli and run "sqlx database setup" in project directory before running the docker image or the following steps will not compile and will result in error + +RUN cargo build --release + +CMD ["./target/release/bismarck"] \ No newline at end of file