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:0a399eb16751829e1af26fea27b20c3ec28d7ab1fb72182879dcae1cca21206a
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/