Files
dancefinder-app/Dockerfile
T
argoyle 1085c80497 Build(deps): bump cypress/base from 20.6.1 to 20.9.0
Bumps cypress/base from 20.6.1 to 20.9.0.
2023-10-25 08:41:21 +00:00

17 lines
418 B
Docker

FROM cypress/base:20.9.0 as builder
WORKDIR /build
COPY ./package.json ./yarn.lock ./.snyk ./
RUN yarn install --frozen-lockfile
COPY ./ ./
RUN yarn build && yarn lint
#RUN yarn start:ci & yarn wait && yarn test:cypress
FROM nginx
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/