diff --git a/Dockerfile b/Dockerfile index 72460b2..5b45389 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/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} WORKDIR /home/${AVATAO_USER}