mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 18:41:32 +00:00
Remove duplicate nginx chown from Dockerfile
This commit is contained in:
parent
1ea238e108
commit
98443dc588
@ -100,7 +100,7 @@ COPY src/demo/source_code_server/server.py ${TFW_LOGIN_APP_DIR}/
|
|||||||
COPY src/demo/source_code_server/users.db ${TFW_LOGIN_APP_DIR}/
|
COPY src/demo/source_code_server/users.db ${TFW_LOGIN_APP_DIR}/
|
||||||
COPY src/demo/source_code_server/login_component.py ${TFW_WEBIDE_WD}/
|
COPY src/demo/source_code_server/login_component.py ${TFW_WEBIDE_WD}/
|
||||||
|
|
||||||
RUN chown -R ${AVATAO_USER} ${TFW_WEBIDE_WD} /var/log/nginx /var/lib/nginx /etc/nginx &&\
|
RUN chown -R ${AVATAO_USER} ${TFW_WEBIDE_WD} &&\
|
||||||
chmod -R 755 ${TFW_WEBIDE_WD}
|
chmod -R 755 ${TFW_WEBIDE_WD}
|
||||||
|
|
||||||
USER ${AVATAO_USER}
|
USER ${AVATAO_USER}
|
||||||
|
Loading…
Reference in New Issue
Block a user