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