We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a5c192 commit e90de67Copy full SHA for e90de67
Dockerfile
@@ -168,6 +168,8 @@ RUN npm set progress=false && npm config set depth 0
168
169
## install node_modules, including 'devDependencies'
170
RUN npm install --no-audit
171
+RUN npm root
172
+RUN npm root -g
173
174
## remove cache
175
RUN echo "**** Cleaning node cache ****"
@@ -183,6 +185,8 @@ FROM base AS test
183
185
RUN echo "**** Testing stage ****"
184
186
187
## copy dependencies
188
189
190
#COPY --from=node-dependencies ${APP_DIR}/prod_node_modules ./node_modules
191
COPY --from=node-dependencies ${APP_DIR}/node_modules ./node_modules
192
0 commit comments