Preserve the production network and normalize runtime image permissions
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -48,6 +48,7 @@ COPY --chown=lottery:lottery main.py alembic.ini ./
|
||||
|
||||
# Создаем необходимые директории
|
||||
RUN mkdir -p /app/logs /app/data && \
|
||||
chmod -R u=rwX,go=rX /app && \
|
||||
chown -R lottery:lottery /app
|
||||
|
||||
# Переключаемся на непривилегированного пользователя
|
||||
|
||||
Reference in New Issue
Block a user