diff --git a/Dockerfile b/Dockerfile index b7370ba..c504f76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ LABEL maintainer "Fabian Stamm " RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.9/community >> /etc/apk/repositories RUN apk add --no-cache php7 php7-fpm php7-opcache php7-curl php7-json php7-zip -RUN sed 's/listen = 127.0.0.1:9000/listen = \/run\/php-fpm.sock/g' +RUN cat /etc/php7/php-fpm.d/www.conf | sed 's/listen = 127.0.0.1:9000/listen = \/run\/php-fpm.sock/g' > /etc/php7/php-fpm.d/www.conf COPY --from=builder /usr/bin/caddy /usr/bin/caddy