Files
dancefinder-app/Dockerfile
T
argoyle 929968b99b fix(docker): update nginx base image to version 1.27.4
Update the Dockerfile to use the amd64/nginx:1.27.4 image for better 
compatibility and security. This change ensures that the application 
runs on a stable and supported version of nginx, improving the overall 
image reliability.
2025-03-19 11:03:54 +01:00

17 lines
582 B
Docker

FROM cypress/base:22.14.0@sha256:b5ee6f4a54c2966a2d855693bd12a063b9fcf7159930e2c4d57ab138d36a8a51 as builder
WORKDIR /build
COPY ./package.json ./package-lock.json ./.snyk ./
RUN npm ci --no-progress
COPY ./ ./
RUN npm run generate && npm run lint
#RUN yarn start:ci & yarn wait && yarn test:cypress
FROM amd64/nginx:1.27.4@sha256:02d5f75a2d4a3f31957bc666b5e2cecafcb749732484b221b62cb825ccbf737b
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/