fix: update node version
Some checks failed
Build And Push Image / docker (push) Failing after 2m39s
Some checks failed
Build And Push Image / docker (push) Failing after 2m39s
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ARG NODE_VERSION=20.10.0
|
||||
ARG NODE_VERSION=22.12.0
|
||||
ARG PORT=6060
|
||||
|
||||
FROM node:${NODE_VERSION}-slim as base
|
||||
@@ -9,7 +9,7 @@ WORKDIR /app
|
||||
FROM base as build
|
||||
COPY package.json .
|
||||
COPY package-lock.json .
|
||||
RUN npm ci --production=false
|
||||
RUN npm install --production=false
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
RUN npm prune
|
||||
@@ -25,4 +25,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
||||
# Install curl for health check
|
||||
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"]
|
||||
Reference in New Issue
Block a user