From 8cd0665c03383ea651d962e14fddf2a92005bf2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 14 Mar 2018 08:57:33 +0100 Subject: [PATCH] Make rw directories VOLUMEs --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 5b45389..a1dff20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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