Update Dockerfile

This commit is contained in:
HluthWigg 2023-02-18 22:59:08 +01:00 committed by GitHub
parent 4ff5967993
commit 38ec62c05c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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