mirror of
https://github.com/mashirozx/docker-php-nginx.git
synced 2024-11-21 22:38:14 +08:00
Upgraded to Alpine 3.11
This commit is contained in:
parent
61a7284615
commit
1780ba14fa
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.10
|
FROM alpine:3.11
|
||||||
LABEL Maintainer="Tim de Pater <code@trafex.nl>" \
|
LABEL Maintainer="Tim de Pater <code@trafex.nl>" \
|
||||||
Description="Lightweight container with Nginx 1.16 & PHP-FPM 7.3 based on Alpine Linux."
|
Description="Lightweight container with Nginx 1.16 & PHP-FPM 7.3 based on Alpine Linux."
|
||||||
|
|
||||||
@ -26,7 +26,6 @@ RUN mkdir -p /var/www/html
|
|||||||
RUN chown -R nobody.nobody /var/www/html && \
|
RUN chown -R nobody.nobody /var/www/html && \
|
||||||
chown -R nobody.nobody /run && \
|
chown -R nobody.nobody /run && \
|
||||||
chown -R nobody.nobody /var/lib/nginx && \
|
chown -R nobody.nobody /var/lib/nginx && \
|
||||||
chown -R nobody.nobody /var/tmp/nginx && \
|
|
||||||
chown -R nobody.nobody /var/log/nginx
|
chown -R nobody.nobody /var/log/nginx
|
||||||
|
|
||||||
# Make the document root a volume
|
# Make the document root a volume
|
||||||
|
@ -1 +1 @@
|
|||||||
This should also work and be served by Nginx
|
This static HTML file is served by Nginx
|
||||||
|
Loading…
Reference in New Issue
Block a user