2025-05-07 16:05:17 +00:00
|
|
|
FROM cypress/base:24.0.0@sha256:a12dd7ba6c42601ba02328491320f04fede8b652f6da27247897b9a6d413c2b9 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-07-15 02:59:44 +00:00
|
|
|
FROM amd64/nginx:1.29.0@sha256:1255491f87317acd3c7c9329f29054473fd5d4dc84646e47bc672aaa7e9f0c67
|
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/
|