Skip to content

Commit

Permalink
fix: bug in dockerfile is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
msm1984 committed Aug 24, 2024
1 parent b6f3008 commit 4301cc1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Stage 1: Base setup
FROM node:20 AS base

FROM base as test

WORKDIR /app

COPY /project/package*.json ./
Expand All @@ -20,9 +22,6 @@ RUN apt-get update && apt-get install -y \

ENV CHROME_BIN="/usr/bin/google-chrome"

# Stage 2: Test
FROM base as test

COPY /project/ .

RUN ng test --watch=false --browsers=ChromeHeadlessNoSandbox
Expand Down

0 comments on commit 4301cc1

Please sign in to comment.