Files
dancefinder-app/Dockerfile
T

19 lines
708 B
Docker
Raw Normal View History

FROM cypress/base:26.13.0@sha256:5f5138fff456c4250cb327421f6a43e71c3feb50e46f95b3261c5bdc6f4b0531 as builder
2019-01-15 13:21:24 +01:00
WORKDIR /build
2025-07-16 16:05:26 +00:00
RUN npm install --global node-gyp && \
git config --global --add safe.directory /build
COPY ./package.json ./package-lock.json ./
RUN npm ci --no-progress
2025-07-16 16:05:26 +00:00
COPY . /build
RUN npm run postinstall && npm run generate && npm run lint
2019-01-15 13:52:04 +01:00
#RUN yarn start:ci & yarn wait && yarn test:cypress
2019-01-15 13:21:24 +01:00
FROM nginxinc/nginx-unprivileged:1.31.7@sha256:09b0d3eda2aa592d2487f284519419015cab010d7df16cd0fe224b585fc60eb6
2019-01-15 13:21:24 +01:00
MAINTAINER Joakim Olsson <joakim@unbound.se>
2022-08-16 06:55:09 +02:00
COPY --from=builder /build/.output/public/ /usr/share/nginx/html/
2019-01-15 13:21:24 +01:00
COPY --from=builder /build/nginx-conf/default.conf /etc/nginx/conf.d/