Skip to content

Commit e90de67

Browse files
author
Alexander Rogalskiy
committed
Updates on files
1 parent 9a5c192 commit e90de67

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ RUN npm set progress=false && npm config set depth 0
168168

169169
## install node_modules, including 'devDependencies'
170170
RUN npm install --no-audit
171+
RUN npm root
172+
RUN npm root -g
171173

172174
## remove cache
173175
RUN echo "**** Cleaning node cache ****"
@@ -183,6 +185,8 @@ FROM base AS test
183185
RUN echo "**** Testing stage ****"
184186

185187
## copy dependencies
188+
RUN npm root
189+
RUN npm root -g
186190
#COPY --from=node-dependencies ${APP_DIR}/prod_node_modules ./node_modules
187191
COPY --from=node-dependencies ${APP_DIR}/node_modules ./node_modules
188192

0 commit comments

Comments
 (0)