Edit Dockerfile
This commit is contained in:
+3
-1
@@ -27,6 +27,7 @@ RUN echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bu
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
nginx \
|
||||
redis-server \
|
||||
vim \
|
||||
wget \
|
||||
curl \
|
||||
@@ -148,4 +149,5 @@ ENV HTTPS_PROXY=""
|
||||
|
||||
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;'"]
|
||||
Reference in New Issue
Block a user