clearing npm cache to save space

This commit is contained in:
xphyr
2023-09-14 13:57:58 -04:00
parent a073a746f2
commit 44d2a6c553
+1 -1
View File
@@ -17,7 +17,7 @@ WORKDIR /app
ENV npm_config_cache /home/node/.npm ENV npm_config_cache /home/node/.npm
COPY package*.json ./ COPY package*.json ./
RUN npm ci --only-production RUN npm ci --only-production && npm cache clean --force
COPY --from=build /app . COPY --from=build /app .