Skip to content

Commit

Permalink
testing playwright in app-base
Browse files Browse the repository at this point in the history
  • Loading branch information
skifahrer committed Sep 24, 2024
1 parent 60ee4f8 commit e47b403
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nest-forms-backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ COPY --from=shared /app/ /forms-shared/
WORKDIR /build
COPY package.json package-lock.json prisma ./

# Install Playwright dependencies
RUN npx playwright install-deps chromium

RUN npm ci --include=dev --frozen-lockfile \
&& npx prisma generate

Expand All @@ -41,6 +38,9 @@ CMD [ "npm", "run", "start:debug" ]
# Production
FROM app-base AS prod

# Install Playwright dependencies
RUN npx playwright install-deps chromium

COPY --chown=node:node --from=shared /app/ /home/node/forms-shared/
COPY --chown=node:node --from=build /build/package.json /build/package-lock.json ./
COPY --chown=node:node --from=build /build/node_modules ./node_modules
Expand Down

0 comments on commit e47b403

Please sign in to comment.