Skip to content

Commit

Permalink
another
Browse files Browse the repository at this point in the history
  • Loading branch information
broneks committed Nov 27, 2024
1 parent 636a793 commit 2ce0561
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ RUN if [ "$ENV" = "local" ]; then \

EXPOSE 8001

ENTRYPOINT ["db/migrations.sh"]
ENTRYPOINT if [ "$ENV" != "local" ]; then \
db/migrations.sh; \
fi

CMD if [ "$ENV" = "local" ]; then \
air; \
Expand Down

0 comments on commit 2ce0561

Please sign in to comment.