diff --git a/dockerfile b/dockerfile index 3c0f245d6..b3e5c7b90 100644 --- a/dockerfile +++ b/dockerfile @@ -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;"]