Files
dancefinder-app/Dockerfile
T

17 lines
569 B
Docker

FROM cypress/base:22.13.0@sha256:38eef52043285bae30a0f0af103e0429c9714a671da3b67c30d35ced7460e50c 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 nginx@sha256:42e917aaa1b5bb40dd0f6f7f4f857490ac7747d7ef73b391c774a41a8b994f15
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/