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

This commit is contained in:
Radim Lipovčan 2023-12-13 22:14:01 +01:00
parent 6ff95dab57
commit 030a7ffaa1
1 changed files with 7 additions and 1 deletions

View File

@ -33,4 +33,10 @@ RUN apt-get update && \
/etc/php/${PHP_VERSION}/fpm/pool.d/www.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"]