diff --git a/Dockerfile.demos b/Dockerfile.demos index a6dae27..6821699 100644 --- a/Dockerfile.demos +++ b/Dockerfile.demos @@ -49,7 +49,7 @@ RUN npm prune --production --legacy-peer-deps # This stage builds the final container FROM node:hydrogen-alpine3.18 -LABEL maintainer=FormSG +LABEL maintainer="Demos at OGP" WORKDIR /opt/formsg # Install build from backend-build @@ -57,6 +57,9 @@ COPY --from=build /build/node_modules /opt/formsg/node_modules COPY --from=build /build/package.json /opt/formsg/package.json COPY --from=build /build/dist /opt/formsg/dist +# Grab Singpass RP jwks config from __tests__ +COPY --from=build /build/__tests__/setup/certs /opt/formsg/__tests__/setup/certs + # Built backend goes back to root working directory RUN mv /opt/formsg/dist/backend/src /opt/formsg/ RUN mv /opt/formsg/dist/backend/shared /opt/formsg/