File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -177,15 +177,11 @@ RUN npm cache clean --force
177177# #
178178# # ---- Test stage ----
179179# #
180- FROM base AS test
180+ FROM node-dependencies AS test
181181
182182# # setup testing stage
183183RUN echo "**** Testing stage ****"
184184
185- # # copy dependencies
186- # COPY --from=node-dependencies ${APP_DIR}/prod_node_modules ./node_modules
187- COPY --from=node-dependencies /usr/local/lib/node_modules ./node_modules
188-
189185# # copy source files
190186COPY . ./
191187
@@ -207,7 +203,6 @@ ENV PATH=/root/.local:$PATH
207203# # copy dependencies
208204# COPY --from=node-dependencies ${APP_DIR}/prod_node_modules ./node_modules
209205COPY --from=node-dependencies /usr/local/lib/node_modules ./node_modules
210- COPY --from=node-dependencies ${APP_DIR}/node_modules ./node_modules
211206COPY --from=python-dependencies /usr/local/lib/python3.8/site-packages /usr/local/lib/python3.8/site-packages
212207
213208# # copy app sources
You can’t perform that action at this time.
0 commit comments