Files
dancefinder-app/Dockerfile
T
argoyle 45302b4b21 Build(deps): bump cypress/base from 18.14.1 to 18.15.0
Bumps cypress/base from 18.14.1 to 18.15.0.
2023-04-08 03:50:08 +00:00

17 lines
419 B
Docker

FROM cypress/base:18.15.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/