Replace the AWS deploy-prod job (failing since CI left AWS) with deploy-prod-frostmoln, and run under the restricted Pod Security profile with the namespace's oci-registry pull secret. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H6eVuR4Yt3m7TbDTDwyZJi
20 lines
707 B
Docker
20 lines
707 B
Docker
FROM cypress/base:26.0.0@sha256:446be8fcb63e3cad2f9a4e14720e3d8e35993e12f36da541e09f5740a4c2477c as builder
|
|
|
|
WORKDIR /build
|
|
|
|
RUN npm install --global node-gyp && \
|
|
git config --global --add safe.directory /build
|
|
|
|
COPY ./package.json ./package-lock.json ./
|
|
RUN npm ci --no-progress
|
|
|
|
COPY . /build
|
|
RUN npm run postinstall && npm run generate && npm run lint
|
|
#RUN yarn start:ci & yarn wait && yarn test:cypress
|
|
|
|
FROM nginxinc/nginx-unprivileged:1.31.7@sha256:94193d5c4c5df716f412bb08eb97956d98fe6b59886f0bc57d6d3a3402a88a02
|
|
MAINTAINER Joakim Olsson <joakim@unbound.se>
|
|
|
|
COPY --from=builder /build/.output/public/ /usr/share/nginx/html/
|
|
COPY --from=builder /build/nginx-conf/default.conf /etc/nginx/conf.d/
|