Files
dancefinder-app/Dockerfile
T
argoyle d51f1e3acb chore(deps): bump cypress/base from 12.14.0 to 12.18.3
Bumps cypress/base from 12.14.0 to 12.18.3.
2021-11-07 03:50:41 +00:00

19 lines
470 B
Docker

FROM cypress/base:12.18.3 as builder
WORKDIR /build
COPY ./package.json ./yarn.lock ./.snyk ./
RUN yarn install --frozen-lockfile
COPY ./ ./
WORKDIR /build/autopublish-app
RUN yarn run lint && yarn run build
#RUN yarn start:ci & yarn wait && yarn test:cypress
RUN yarn run generate
FROM nginx
MAINTAINER Joakim Olsson <joakim@unbound.se>
COPY --from=builder /build/dist/ /usr/share/nginx/html/
COPY --from=builder /build/nginx-conf/default.conf /etc/nginx/conf.d/