mod: Dockerfile .
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 33s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 33s
This commit is contained in:
@@ -67,7 +67,7 @@ RUN mkdir -p /nginx_configs_host/nginx
|
|||||||
# Создаём директорию для собранной статики
|
# Создаём директорию для собранной статики
|
||||||
RUN mkdir -p /home/app/web/staticfiles
|
RUN mkdir -p /home/app/web/staticfiles
|
||||||
# ...и даём права пользователю app
|
# ...и даём права пользователю app
|
||||||
# RUN chown -R app:app /home/app/web/staticfiles
|
RUN chown -R app:app /home/app/web/staticfiles
|
||||||
|
|
||||||
# Переключаемся на пользователя без прав root
|
# Переключаемся на пользователя без прав root
|
||||||
USER app
|
USER app
|
||||||
|
|||||||
Reference in New Issue
Block a user