Aktualizovat Dockerfile
Some checks failed
Build nginx main / Explore-Gitea-Actions (push) Has been cancelled
Some checks failed
Build nginx main / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
parent
6ff95dab57
commit
030a7ffaa1
@ -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"]
|
Loading…
Reference in New Issue
Block a user