We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40b686a commit a460e33Copy full SHA for a460e33
Dockerfile
@@ -1,7 +1,7 @@
1
FROM node:21.7.3-alpine AS deps
2
WORKDIR /app
3
COPY package.json package-lock.json ./
4
-RUN npm install --ignore-scripts
+RUN --mount=type=cache,target=/app/.npm npm set cache /app/.npm && npm install --ignore-scripts
5
6
7
FROM node:21.7.3-alpine AS production
0 commit comments