Update Dockerfile
This commit is contained in:
parent
4ff5967993
commit
38ec62c05c
1 changed files with 3 additions and 3 deletions
|
@ -3,6 +3,9 @@ FROM alpine:${ALPINE_VERSION}
|
||||||
LABEL Maintainer="HluthWigg"
|
LABEL Maintainer="HluthWigg"
|
||||||
LABEL Description="Paheko on Alpine Linux with Docker"
|
LABEL Description="Paheko on Alpine Linux with Docker"
|
||||||
|
|
||||||
|
# Volume expose
|
||||||
|
VOLUME /var/www
|
||||||
|
|
||||||
# Setup document root
|
# Setup document root
|
||||||
WORKDIR /var/www/
|
WORKDIR /var/www/
|
||||||
|
|
||||||
|
@ -90,9 +93,6 @@ USER nobody
|
||||||
# Expose the port nginx is reachable on (documentation purposes only)
|
# Expose the port nginx is reachable on (documentation purposes only)
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# Volume expose
|
|
||||||
VOLUME /var/www
|
|
||||||
|
|
||||||
## Let supervisord start nginx & php-fpm
|
## Let supervisord start nginx & php-fpm
|
||||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
|
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
|
||||||
#CMD ["/usr/bin/supervisord"] # should work too
|
#CMD ["/usr/bin/supervisord"] # should work too
|
||||||
|
|
Loading…
Reference in a new issue