From e4da0006043edb65a2eb978bd1e33789fb4d6f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexey=20ALERT=20Rubash=D1=91ff?= Date: Wed, 2 Oct 2024 14:57:09 +0300 Subject: [PATCH] ! moved chmod to development stage --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index baeb06a..fa8a3be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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