2025-04-23 14:03:48 +00:00
|
|
|
FROM cypress/base:22.15.0@sha256:dcca936f59362209da3d29acd9e01b299d3ab72bcf32a22c2949ba4210f9b92f as builder
|
2019-01-15 13:21:24 +01:00
|
|
|
|
|
|
|
|
WORKDIR /build
|
2019-07-04 12:41:27 +02:00
|
|
|
|
2024-11-06 14:40:02 +01:00
|
|
|
COPY ./package.json ./package-lock.json ./.snyk ./
|
|
|
|
|
RUN npm ci --no-progress
|
2019-07-04 12:41:27 +02:00
|
|
|
|
2019-01-15 13:21:24 +01:00
|
|
|
COPY ./ ./
|
2024-11-06 14:40:02 +01:00
|
|
|
RUN npm run generate && npm run lint
|
2019-01-15 13:52:04 +01:00
|
|
|
#RUN yarn start:ci & yarn wait && yarn test:cypress
|
2019-01-15 13:21:24 +01:00
|
|
|
|
2025-04-28 23:05:57 +00:00
|
|
|
FROM amd64/nginx:1.28.0@sha256:5aba33866e58a0994d8f41fc7a9bb44a2f328fa567a9d851b921a7d7792fa6e2
|
2019-01-15 13:21:24 +01:00
|
|
|
MAINTAINER Joakim Olsson <joakim@unbound.se>
|
|
|
|
|
|
2022-08-16 06:55:09 +02:00
|
|
|
COPY --from=builder /build/.output/public/ /usr/share/nginx/html/
|
2019-01-15 13:21:24 +01:00
|
|
|
COPY --from=builder /build/nginx-conf/default.conf /etc/nginx/conf.d/
|