mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 23:51:21 +00:00
Make rw directories VOLUMEs
This commit is contained in:
parent
51234c750c
commit
8cd0665c03
@ -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}
|
chmod -R 755 ${TFW_WEBIDE_WD}
|
||||||
|
|
||||||
USER ${AVATAO_USER}
|
USER ${AVATAO_USER}
|
||||||
|
VOLUME ["/etc/nginx", "/home/${AVATAO_USER}", "/var/lib/nginx", "/var/log/nginx"]
|
||||||
WORKDIR /home/${AVATAO_USER}
|
WORKDIR /home/${AVATAO_USER}
|
||||||
|
|
||||||
CMD . "$HOME/.pyenvrc" && exec supervisord --nodaemon
|
CMD . "$HOME/.pyenvrc" && exec supervisord --nodaemon
|
||||||
|
Loading…
Reference in New Issue
Block a user