Files
schemas-app/Dockerfile
T
renovate 52cd3b3e8e
schemas-app / build (push) Successful in 23s
schemas-app / deploy-prod-frostmoln (push) Successful in 1m47s
chore(deps): update cypress/base docker tag to v26.13.0 (#419)
2026-11-01 10:12:56 +00:00

22 lines
890 B
Docker

FROM cypress/base:26.13.0@sha256:5f5138fff456c4250cb327421f6a43e71c3feb50e46f95b3261c5bdc6f4b0531 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 && npm run test:coverage
FROM scratch as export
COPY --from=builder /build/coverage /
# Unprivileged (uid 101, port 8080): Frostmoln enforces restricted Pod Security.
FROM nginxinc/nginx-unprivileged:1.31.7@sha256:09b0d3eda2aa592d2487f284519419015cab010d7df16cd0fe224b585fc60eb6
MAINTAINER Joakim Olsson <joakim@unbound.se>
COPY --chmod=644 ./nginx/nginx.conf /etc/nginx/nginx.conf
COPY --chmod=644 ./nginx/security_headers.conf /etc/nginx/security_headers.conf
COPY --from=builder /build/.output/public/ /usr/share/nginx/html/