Skip to content

Commit

Permalink
fix(docker): add RP jwks config
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneRifle committed Feb 22, 2024
1 parent e5735d0 commit 2a0f3ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile.demos
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,17 @@ RUN npm prune --production --legacy-peer-deps

# This stage builds the final container
FROM node:hydrogen-alpine3.18
LABEL maintainer=FormSG<formsg@data.gov.sg>
LABEL maintainer="Demos at OGP<demos@open.gov.sg>"
WORKDIR /opt/formsg

# Install build from backend-build
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/
Expand Down

0 comments on commit 2a0f3ed

Please sign in to comment.