Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
created dockerfile to assist with docker image running of this program
  • Loading branch information
paninizer committed Mar 18, 2024
1 parent 55d5fc1 commit d59c7da
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit d59c7da

Please sign in to comment.