From d59c7da5ac0ae627a2d31edbc22d65293a414103 Mon Sep 17 00:00:00 2001 From: paninizer <101371138+paninizer@users.noreply.github.com> Date: Mon, 18 Mar 2024 10:37:19 -0400 Subject: [PATCH] Create Dockerfile created dockerfile to assist with docker image running of this program --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile 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