Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
chore: update docker entrypoint for migrations (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau authored Nov 13, 2020
1 parent fb8c622 commit 1e0a42a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ RUN sed -i 's#"./src/cli"#"./lib/cli"#g' package.json

EXPOSE 3030

ENV RIFM_PRECACHE_TARGETS all

ENTRYPOINT [ "./bin/entrypoint" ]

LABEL maintainer="adam@iovlabs.org"
Expand Down
3 changes: 1 addition & 2 deletions bin/entrypoint
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh

./bin/run db-sync "$@"
./bin/run precache "$@" $RIFM_PRECACHE_TARGETS
./bin/run db-migration --up
./bin/run start "$@"

0 comments on commit 1e0a42a

Please sign in to comment.