From 030a7ffaa15ae5ca6d31f58cbec859e7180242c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radim=20Lipov=C4=8Dan?= Date: Wed, 13 Dec 2023 22:14:01 +0100 Subject: [PATCH] Aktualizovat Dockerfile --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7aff41b..66bf45d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;"] \ No newline at end of file + +COPY start.sh /start.sh +RUN chmod 755 /start.sh +USER www-data + +EXPOSE 8080 +ENTRYPOINT ["/start.sh"] \ No newline at end of file