Skip to content

Commit 014742d

Browse files
committed
Copy npm package directory to the container
1 parent 589ccc3 commit 014742d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ ENV RAILS_ENV="production" \
8888

8989
# Copy Node.js from nodejs stage
9090
COPY --from=nodejs /usr/local/bin/node /usr/local/bin/
91+
COPY --from=nodejs /usr/local/lib/node_modules/npm /usr/local/lib/node_modules/npm
9192
COPY --from=nodejs /usr/local/bin/npm /usr/local/bin/
9293
COPY --from=nodejs /usr/local/bin/npx /usr/local/bin/
9394

0 commit comments

Comments
 (0)