Aktualizovat Dockerfile
Some checks failed
Build nginx main / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Radim Lipovčan 2023-12-13 22:14:01 +01:00
parent 6ff95dab57
commit 030a7ffaa1

View File

@ -33,4 +33,10 @@ RUN apt-get update && \
/etc/php/${PHP_VERSION}/fpm/pool.d/www.conf && \ /etc/php/${PHP_VERSION}/fpm/pool.d/www.conf && \
sed -i -e "s/worker_processes 1/worker_processes 4/" /etc/nginx/nginx.conf sed -i -e "s/worker_processes 1/worker_processes 4/" /etc/nginx/nginx.conf
ENTRYPOINT ["nginx", "-g", "daemon off;"]
COPY start.sh /start.sh
RUN chmod 755 /start.sh
USER www-data
EXPOSE 8080
ENTRYPOINT ["/start.sh"]