TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.33k stars 721 forks source link

php-fpm error #130

Closed realspinelle closed 10 months ago

realspinelle commented 1 year ago

image

my Dockerfile FROM trafex/php-nginx EXPOSE 3000 USER root RUN rm /etc/nginx/conf.d/default.conf COPY ./ptero.conf /etc/nginx/conf.d/ptero.conf

umneeq2 commented 1 year ago

The same here...

TrafeX commented 1 year ago

Hi @realspinelle & @umneeq2 ,

This image is optimized to run as a non-privileged user. So just remove the USER root line and it should work :+1:

TrafeX commented 10 months ago

I assume the issue is resolved, let me know if that's not the case!