Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit5d31113

Browse files
committed
chore: add migration step into dockerfile
1 parent889a562 commit5d31113

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎deploy/production/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ADD api_server.tar.gz /root/api_server
1717
# RUN mix hex.config mirror_url https://cdn.jsdelivr.net/hex
1818

1919
RUN cd /root/api_server && MIX_ENV=prod mix deps.get --only prod && MIX_ENV=prod mix compile
20+
RUN cd /root/api_server && MIX_ENV=prod mix ecto.migrate
2021

2122
ADD loader.sh /usr/local/bin/loader.sh
2223
RUN chmod +x /usr/local/bin/loader.sh

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp