mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
build(deps): update latest
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
FROM node:20.5.0 AS builder-dependencies
|
||||
FROM node:20.5.1 AS builder-dependencies
|
||||
WORKDIR /usr/src/application
|
||||
COPY ./package*.json ./
|
||||
RUN npm clean-install
|
||||
|
||||
FROM node:20.5.0 AS builder
|
||||
FROM node:20.5.1 AS builder
|
||||
WORKDIR /usr/src/application
|
||||
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
|
||||
COPY ./ ./
|
||||
@ -12,6 +12,7 @@ RUN npm run build
|
||||
FROM gcr.io/distroless/nodejs20-debian11:latest AS runner
|
||||
WORKDIR /usr/src/application
|
||||
ENV NODE_ENV=production
|
||||
ENV HOSTNAME=0.0.0.0
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
|
||||
COPY --from=builder /usr/src/application/.next/standalone ./
|
||||
|
Reference in New Issue
Block a user