diff --git a/Dockerfile b/Dockerfile index 739d2e2..13f52f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ FROM alpine:${ALPINE_VERSION} LABEL Maintainer="HluthWigg" LABEL Description="Paheko on Alpine Linux with Docker" +# Volume expose +VOLUME /var/www + # Setup document root WORKDIR /var/www/ @@ -90,9 +93,6 @@ USER nobody # Expose the port nginx is reachable on (documentation purposes only) EXPOSE 80 -# Volume expose -VOLUME /var/www - ## Let supervisord start nginx & php-fpm CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"] #CMD ["/usr/bin/supervisord"] # should work too