Changed from openresty to base nginx
This commit is contained in:
parent
538a8858c7
commit
20a647ab5a
@ -1,10 +1,7 @@
|
||||
FROM openresty/openresty:focal
|
||||
FROM nginx:1.27.0
|
||||
|
||||
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 nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user