mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-06 00:11:22 +00:00
Add nginx permission fixes to Dockerfile
This commit is contained in:
parent
fa115a67c0
commit
51234c750c
@ -101,7 +101,8 @@ 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} && chmod -R 755 ${TFW_WEBIDE_WD}
|
RUN chown -R ${AVATAO_USER} ${TFW_WEBIDE_WD} /var/log/nginx /var/lib/nginx /etc/nginx &&\
|
||||||
|
chmod -R 755 ${TFW_WEBIDE_WD}
|
||||||
|
|
||||||
USER ${AVATAO_USER}
|
USER ${AVATAO_USER}
|
||||||
WORKDIR /home/${AVATAO_USER}
|
WORKDIR /home/${AVATAO_USER}
|
||||||
|
Loading…
Reference in New Issue
Block a user