1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

fix: update dependencies to latest to address security issues Node.js v20.11.1

Ref: https://nodejs.org/en/blog/vulnerability/february-2024-security-releases
This commit is contained in:
2024-02-15 09:27:03 +01:00
parent 5185c6758b
commit 15e94cec64
9 changed files with 4946 additions and 2844 deletions

View File

@ -1,9 +1,9 @@
FROM node:20.11.0 AS builder-dependencies
FROM node:20.11.1 AS builder-dependencies
WORKDIR /usr/src/application
COPY ./package*.json ./
RUN npm clean-install
FROM node:20.11.0 AS builder
FROM node:20.11.1 AS builder
ENV NEXT_TELEMETRY_DISABLED=1
ENV IS_STANDALONE=true
WORKDIR /usr/src/application
@ -11,7 +11,7 @@ COPY --from=builder-dependencies /usr/src/application/node_modules ./node_module
COPY ./ ./
RUN npm run build
FROM node:20.11.0-slim AS runner
FROM node:20.11.1-slim AS runner
ENV NODE_ENV=production
ENV HOSTNAME=0.0.0.0
ENV NEXT_TELEMETRY_DISABLED=1