Skip to content

Commit

Permalink
fix: add migrations folder to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
inian committed Mar 31, 2021
1 parent 00f93dd commit 05bff89
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions gh-Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
FROM debian:stable-slim
COPY storage-api-x86_64 /bin/
ENTRYPOINT "/bin/storage-api-x86_64"

RUN mkdir -p /root/storage
WORKDIR /root/storage

COPY storage-api-x86_64 .
COPY migrations ./migrations

ENTRYPOINT "./storage-api-x86_64"
EXPOSE 5000

0 comments on commit 05bff89

Please sign in to comment.