Commit 4e4e865f authored by Fabio Montefuscolo's avatar Fabio Montefuscolo

remove permissions and add shared folders

parent 2a8e23be
......@@ -31,20 +31,17 @@ RUN /bin/bash htaccess.sh
RUN chown -R root:root /var \
&& find /var/www/html -type f -exec chmod 644 {} \; \
&& find /var/www/html -type d -exec chmod 755 {} \; \
&& chown -R www-data db \
&& chown -R www-data dump \
&& chown -R www-data img/wiki \
&& chown -R www-data img/wiki_up \
&& chown -R www-data img/trackers \
&& chown -R www-data modules/cache \
&& chown -R www-data temp \
&& chown -R www-data temp/cache \
&& chown -R www-data templates_c \
&& chown -R www-data whelp
&& chown -R www-data templates_c
COPY docker-entrypoint.sh /entrypoint.sh
VOLUME ['/tmp']
VOLUME ["/tmp", "/var/www/html/temp", "/var/www/html/modules/cache"]
EXPOSE 80 443
ENTRYPOINT ["/entrypoint.sh"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment