permissions

This commit is contained in:
2021-05-23 14:41:21 +00:00
parent 242f359a76
commit 86d221b4e7

View File

@@ -86,7 +86,7 @@ RUN luarocks install --tree lua_modules luaposix && \
luarocks install lua-resty-auto-ssl luarocks install lua-resty-auto-ssl
#RUN useradd -ms /bin/bash www-data #RUN useradd -ms /bin/bash www-data
#USER www-data #USER www-data
RUN mkdir -p /etc/resty-auto-ssl/storage/ #\ RUN mkdir -p /etc/resty-auto-ssl/storage/ \
&& chown -R www-data /etc/resty-auto-ssl && chown -R www-data /etc/resty-auto-ssl
copy ./conf/* /etc/nginx/conf.d/ copy ./conf/* /etc/nginx/conf.d/
CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"]; CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"];