Make rw directories VOLUMEs

This commit is contained in:
Kristóf Tóth 2018-03-14 08:57:33 +01:00
parent 51234c750c
commit 8cd0665c03
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ RUN chown -R ${AVATAO_USER} ${TFW_WEBIDE_WD} /var/log/nginx /var/lib/nginx /etc/
chmod -R 755 ${TFW_WEBIDE_WD}
USER ${AVATAO_USER}
VOLUME ["/etc/nginx", "/home/${AVATAO_USER}", "/var/lib/nginx", "/var/log/nginx"]
WORKDIR /home/${AVATAO_USER}
CMD . "$HOME/.pyenvrc" && exec supervisord --nodaemon