Copy our build output into a folder we can serve (static content; pwa)

This commit is contained in:
dannyrb committed 2019-05-03 21:21:11 -04:00
1 parent 337bd5ffc9
commit 0852e33cd1
1 file changed
+5
+5
View File
@@ -32,3 +32,8 @@ RUN luarocks install lua-resty-jwt
RUN luarocks install lua-resty-http RUN luarocks install lua-resty-http
RUN luarocks install lua-resty-openidc RUN luarocks install lua-resty-openidc
RUN luarocks install luacrypto 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;"]