Remove duplicate nginx chown from Dockerfile

This commit is contained in:
Kristóf Tóth 2018-03-14 14:32:49 +01:00
parent 1ea238e108
commit 98443dc588

View File

@ -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/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}
USER ${AVATAO_USER}