fix: update node version
Build And Push Image / docker (push) Failing after 2m39s
Details
Build And Push Image / docker (push) Failing after 2m39s
Details
This commit is contained in:
parent
c59ace8fc3
commit
5e2544be6d
|
|
@ -1,4 +1,4 @@
|
||||||
ARG NODE_VERSION=20.10.0
|
ARG NODE_VERSION=22.12.0
|
||||||
ARG PORT=6060
|
ARG PORT=6060
|
||||||
|
|
||||||
FROM node:${NODE_VERSION}-slim as base
|
FROM node:${NODE_VERSION}-slim as base
|
||||||
|
|
@ -9,7 +9,7 @@ WORKDIR /app
|
||||||
FROM base as build
|
FROM base as build
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
COPY package-lock.json .
|
COPY package-lock.json .
|
||||||
RUN npm ci --production=false
|
RUN npm install --production=false
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
RUN npm prune
|
RUN npm prune
|
||||||
|
|
@ -25,4 +25,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
||||||
# Install curl for health check
|
# Install curl for health check
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
CMD ["node", ".output/server/index.mjs"]
|
CMD ["node", ".output/server/index.mjs"]
|
||||||
Loading…
Reference in New Issue