Skip to content

Commit

Permalink
! moved chmod to development stage
Browse files Browse the repository at this point in the history
  • Loading branch information
ALERTua committed Oct 2, 2024
1 parent 7e33522 commit e4da000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"

COPY --from=builder $APP_DIR $APP_DIR

RUN chmod -R +x $APP_DIR/*.sh

EXPOSE $PORT

VOLUME /data
Expand All @@ -63,8 +65,6 @@ USER $USERNAME

COPY --from=development --chown=$USERNAME:$USERNAME $APP_DIR $APP_DIR

RUN chmod -R +x $APP_DIR/*.sh

HEALTHCHECK \
--interval=10s --timeout=5s --start-period=10s --retries=5 \
CMD curl localhost:${PORT}/health || exit 1
Expand Down

0 comments on commit e4da000

Please sign in to comment.