This commit is contained in:
alirehmani
2024-05-10 17:04:31 +05:00
parent 06b1b99126
commit 546264ac0c

View File

@@ -16,9 +16,7 @@ COPY package*.json ./
# npm ci is used instead of npm install when you want a clean, exact installation
#RUN npm ci --verbose
# Try to install dependencies with a retry mechanism
#RUN for i in 1 2 3; do npm ci --verbose && break || sleep 15; done
RUN npm ci --production
RUN for i in 1 2 3; do npm ci --verbose && break || sleep 15; done
# Copy the rest of your application code
COPY . .