diff --git a/Dockerfile b/Dockerfile index aad4ea4..f8cfd52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,6 +48,7 @@ RUN apt-get update \ curl \ unzip \ gzip \ + nano \ && apt-get install -y libpcre3-dev \ libssl-dev zlib1g-dev libxslt-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 copy ./conf/* /etc/nginx/conf.d/ copy ./snippets/* /usr/local/openresty/nginx/conf/ +ENV PATH "$PATH:/usr/local/openresty/bin" CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"]; \ No newline at end of file