diff --git a/Dockerfile b/Dockerfile index d118b22..b0930a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,13 +77,14 @@ RUN apt-get update && \ && rm -rf /var/lib/apt/lists/* COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf #RUN apt-get install liblua5.3-dev +WORKDIR /usr/local/openresty RUN luarocks install --tree lua_modules luaposix && \ luarocks install --tree lua_modules etlua && \ - luarocks install --tree lua_modules luafilesystem && \\ - luarocks install lua-resty-auto-ssl + luarocks install --tree lua_modules luafilesystem && \ + luarocks install --tree lua_modules lua-resty-auto-ssl -RUN mkdir /etc/resty-auto-ssl \\ - && chown www-data /etc/resty-auto-ssl +RUN mkdir /etc/resty-auto-ssl #\ + #&& chown www-data /etc/resty-auto-ssl CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"]; \ No newline at end of file