File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ WORKDIR /app/src
77COPY package.json package-lock.json ./
88RUN npm ci
99
10- # Copy rest of the app source
11- COPY . /app/src
12-
1310FROM base AS debug
1411
1512RUN apt-get update && apt-get install -y \
1613 less \
1714 iputils-ping \
1815 dnsutils
1916
17+ # Copy app source for development
18+ COPY . /app/src
19+
2020FROM dcycle/broken-link-checker:3 AS broken_link_checker
2121
2222FROM httpd:2.4.64 AS httpd_serve
@@ -61,7 +61,13 @@ RUN apt-get update && apt-get install -y \
6161# Install Playwright browsers
6262RUN npx playwright install chromium --with-deps
6363
64+ # Copy app source for testing
65+ COPY . /app/src
66+
6467# Set default command to run BDD tests
6568CMD ["npm" , "run" , "test:bdd" ]
6669
6770FROM base
71+
72+ # Copy app source for the final stage
73+ COPY . /app/src
You can’t perform that action at this time.
0 commit comments