Edit Dockerfile

This commit is contained in:
izuddin
2026-09-01 08:48:43 +00:00
parent 175f188f71
commit f3cd68675f
+3 -1
View File
@@ -27,6 +27,7 @@ RUN echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bu
&& apt-get update \ && apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
nginx \ nginx \
redis-server \
vim \ vim \
wget \ wget \
curl \ curl \
@@ -148,4 +149,5 @@ ENV HTTPS_PROXY=""
EXPOSE 80 EXPOSE 80
CMD ["sh", "-c", "php-fpm -D && exec nginx -g 'daemon off;'"] # CMD ["sh", "-c", "php-fpm -D && exec nginx -g 'daemon off;'"]
CMD ["sh", "-c", "redis-server --daemonize yes && php-fpm -D && exec nginx -g 'daemon off;'"]