Skip to content

Commit

Permalink
add migration in CMD
Browse files Browse the repository at this point in the history
  • Loading branch information
yujonglee committed Jun 21, 2024
1 parent 22688ce commit 6628fb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ USER nobody
# above and adding an entrypoint. See https://github.com/krallin/tini for details
# ENTRYPOINT ["/tini", "--"]

CMD ["/app/bin/server"]
# CMD ["/app/bin/server"]
CMD /app/bin/migrate && /app/bin/server

0 comments on commit 6628fb1

Please sign in to comment.