This commit is contained in:
Walter 2025-02-21 02:08:27 +01:00
parent 1850ce0082
commit 4053d55cb6

View File

@ -22,11 +22,8 @@ RUN pip install --upgrade pip && \
COPY . $APP_HOME COPY . $APP_HOME
RUN sed -i 's/\r$//g' $APP_HOME/entrypoint.sh && \ RUN sed -i 's/\r$//g' $APP_HOME/entrypoint.sh && \
chown -R app:app $APP_HOME && \
chmod +x $APP_HOME/entrypoint.sh && \ chmod +x $APP_HOME/entrypoint.sh && \
chown root:root $APP_HOME/fix_permissions.sh && \ chown -R app:app $APP_HOME
chmod +x $APP_HOME/fix_permissions.sh && \
chmod u+s $APP_HOME/fix_permissions.sh
USER app USER app