Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
updated dockerfile so it updates the apt packages
  • Loading branch information
paninizer committed Mar 18, 2024
1 parent d59c7da commit af35e49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM rust:latest

COPY ./ ./

RUN apt-get update && apt-get install -y cmake && apt-get clean

# 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
Expand Down

0 comments on commit af35e49

Please sign in to comment.