nano and path variable added
This commit is contained in:
@@ -48,6 +48,7 @@ RUN apt-get update \
|
|||||||
curl \
|
curl \
|
||||||
unzip \
|
unzip \
|
||||||
gzip \
|
gzip \
|
||||||
|
nano \
|
||||||
&& apt-get install -y libpcre3-dev \
|
&& apt-get install -y libpcre3-dev \
|
||||||
libssl-dev zlib1g-dev libxslt-dev \
|
libssl-dev zlib1g-dev libxslt-dev \
|
||||||
libgd-dev libgeoip-dev libldap2-dev\
|
libgd-dev libgeoip-dev libldap2-dev\
|
||||||
@@ -86,4 +87,5 @@ RUN openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \
|
|||||||
-out /etc/ssl/resty-auto-ssl-fallback.crt
|
-out /etc/ssl/resty-auto-ssl-fallback.crt
|
||||||
copy ./conf/* /etc/nginx/conf.d/
|
copy ./conf/* /etc/nginx/conf.d/
|
||||||
copy ./snippets/* /usr/local/openresty/nginx/conf/
|
copy ./snippets/* /usr/local/openresty/nginx/conf/
|
||||||
|
ENV PATH "$PATH:/usr/local/openresty/bin"
|
||||||
CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"];
|
CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"];
|
||||||
Reference in New Issue
Block a user