php-fpm www.conf listen tcp

This commit is contained in:
2022-03-13 13:32:12 +01:00
parent cc7cef4abe
commit 2926f20542
3 changed files with 4 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ RUN apt-get remove -y --purge man-db ;\
apt-get clean -y ;\ apt-get clean -y ;\
rm -rf /var/lib/apt/lists/* ;\ rm -rf /var/lib/apt/lists/* ;\
rm -rf /var/cache/apt/* rm -rf /var/cache/apt/*
ADD etc_php-fpm/www.conf /etc/php/7.4/fpm/pool.d
ADD docker-entrypoint.sh / ADD docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]

View File

@@ -83,7 +83,7 @@ COPY entrypoint.sh /
RUN set -ex; \ RUN set -ex; \
chmod 755 /entrypoint.sh ;\ chmod 755 /entrypoint.sh ;\
mkdir -p /run/php mkdir -p /run/php
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm7.4"] CMD ["php-fpm7.4"]

View File

@@ -1,4 +1,4 @@
FROM debian:bullseye-slim FROM cr.lan/debian-stable-php-fpm
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
ARG GRAV_VERSION=1.6.28 ARG GRAV_VERSION=1.6.28