Files
dancefinder-app/Dockerfile
T

17 lines
569 B
Docker

FROM cypress/base:22.13.1@sha256:29998b50be0644359f54d011770de743aab75ec35f8568f353b7f53ae17ad3d5 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:91734281c0ebfc6f1aea979cffeed5079cfe786228a71cc6f1f46a228cde6e34
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/