Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit c887913

Browse files
committed
chore: add migration step into dockerfile - rollback
1 parent 5d31113 commit c887913

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

deploy/production/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ 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
2120

2221
ADD loader.sh /usr/local/bin/loader.sh
2322
RUN chmod +x /usr/local/bin/loader.sh

0 commit comments

Comments
 (0)