update
This commit is contained in:
@@ -16,7 +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
|
||||||
|
|
||||||
# Copy the rest of your application code
|
# Copy the rest of your application code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
ARG NODE_VERSION=21.4.0
|
ARG NODE_VERSION=18.20.0
|
||||||
ARG ALPINE_VERSION=3.19.0
|
ARG ALPINE_VERSION=3.19.0
|
||||||
|
|
||||||
FROM node:${NODE_VERSION}-alpine AS node
|
FROM node:${NODE_VERSION}-alpine AS node
|
||||||
|
|||||||
Reference in New Issue
Block a user