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,11 +7,11 @@ 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
12+ # Copy app source for development
13+ COPY . /app/src
14+
1515RUN apt-get update && apt-get install -y \
1616 less \
1717 iputils-ping \
@@ -47,6 +47,9 @@ COPY . /usr/local/apache2/htdocs/
4747
4848FROM base AS tests
4949
50+ # Copy app source for testing
51+ COPY . /app/src
52+
5053# Install necessary packages for Playwright
5154RUN apt-get update && apt-get install -y \
5255 libnss3 \
@@ -65,3 +68,6 @@ RUN npx playwright install chromium --with-deps
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