diff --git a/Dockerfile b/Dockerfile index 7c878a8..31b56ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,6 @@ COPY --from=nlss/base-alpine:3.14 ["/etc/services.d/cron/", "/etc/services.d/cro # Add php-fpm configuration COPY --from=nlss/php-nginx:7.4 ["/usr/local/etc/php-fpm.d/", "/usr/local/etc/php-fpm.d/"] -# Add php-fpm service -COPY --from=nlss/php-nginx:7.4 ["/etc/services.d/php-fpm/", "/etc/services.d/php-fpm/"] - # Add nginx service and configuration COPY --from=nlss/php-nginx:7.4 ["/etc/services.d/nginx/", "/etc/services.d/nginx/"] COPY --from=nlss/php-nginx:7.4 ["/etc/nginx/", "/etc/nginx/"] diff --git a/rootfs/etc/services.d/php-fpm/run b/rootfs/etc/services.d/php-fpm/run new file mode 100755 index 0000000..362ee28 --- /dev/null +++ b/rootfs/etc/services.d/php-fpm/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P + +/usr/local/sbin/php-fpm -F \ No newline at end of file