fix: backend image failed to start due to npm cache permission

This commit is contained in:
Gregorius Agung Narindra Aditantyo
2023-08-11 23:34:41 +07:00
parent 051f4501e8
commit 632c78f401

View File

@@ -14,6 +14,8 @@ FROM node:16-alpine
WORKDIR /app
ENV npm_config_cache /home/node/.npm
COPY package*.json ./
RUN npm ci --only-production