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 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;'"]
|
||||||
Reference in New Issue
Block a user