Copy our build output into a folder we can serve (static content; pwa)
This commit is contained in:
parent
337bd5ffc9
commit
0852e33cd1
@ -32,3 +32,8 @@ RUN luarocks install lua-resty-jwt
|
||||
RUN luarocks install lua-resty-http
|
||||
RUN luarocks install lua-resty-openidc
|
||||
RUN luarocks install luacrypto
|
||||
|
||||
# Copy build output to image
|
||||
COPY --from=builder /usr/src/app/build /var/www/html
|
||||
|
||||
ENTRYPOINT ["/usr/local/openresty/nginx/sbin/nginx", "-g", "daemon off;"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user