Skip to content

Commit

Permalink
feat: dockerfile includes mounting sql migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-hagemann committed Oct 9, 2024
1 parent 7f05d08 commit 8518eac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/ratings/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -y && rm -r

WORKDIR /app
COPY target/release/ratings /app/ratings
COPY sql/migrations /app/sql/migrations

EXPOSE 8080
ENTRYPOINT ["/app/ratings"]

0 comments on commit 8518eac

Please sign in to comment.