Changed from openresty to base nginx

This commit is contained in:
nise.moe 2024-06-08 14:53:54 +02:00
parent 538a8858c7
commit 20a647ab5a

View File

@ -1,10 +1,7 @@
FROM openresty/openresty:focal FROM nginx:1.27.0
RUN rm -rf /usr/share/nginx/html/* RUN rm -rf /usr/share/nginx/html/*
RUN /usr/local/openresty/luajit/bin/luarocks install luaxml
RUN /usr/local/openresty/luajit/bin/luarocks install lua-resty-http
COPY dist/nise-frontend /usr/share/nginx/html COPY dist/nise-frontend /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf