clearing npm cache to save space

This commit is contained in:
xphyr
2023-09-14 13:57:58 -04:00
parent a073a746f2
commit 44d2a6c553

View File

@@ -17,7 +17,7 @@ WORKDIR /app
ENV npm_config_cache /home/node/.npm
COPY package*.json ./
RUN npm ci --only-production
RUN npm ci --only-production && npm cache clean --force
COPY --from=build /app .