1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-08 22:31:30 +01:00

fix: update Node.js to v20.15.1 (security release)

This commit is contained in:
Théo LUDWIG 2024-07-20 10:21:16 +02:00
parent dd09092842
commit f94ce7d7bc
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

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