File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,14 @@ FROM alpine:3.11
22LABEL Maintainer=
"Tim de Pater <[email protected] >" \
33 Description="Lightweight container with Nginx 1.16 & PHP-FPM 7.3 based on Alpine Linux."
44
5- # Install packages
5+ # Install packages and remove default server definition
66RUN apk --no-cache add php7 php7-fpm php7-opcache php7-mysqli php7-json php7-openssl php7-curl \
77 php7-zlib php7-xml php7-phar php7-intl php7-dom php7-xmlreader php7-ctype php7-session \
8- php7-mbstring php7-gd nginx supervisor curl
8+ php7-mbstring php7-gd nginx supervisor curl && \
9+ rm /etc/nginx/conf.d/default.conf
910
1011# Configure nginx
1112COPY config/nginx.conf /etc/nginx/nginx.conf
12- # Remove default server definition
13- RUN rm /etc/nginx/conf.d/default.conf
1413
1514# Configure PHP-FPM
1615COPY config/fpm-pool.conf /etc/php7/php-fpm.d/www.conf
You can’t perform that action at this time.
0 commit comments