Skip to content

Commit

Permalink
Update Node.js to af5fb44
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed May 14, 2024
1 parent a5242c4 commit 18cea0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
FROM --platform=$BUILDPLATFORM node:20.13.1-bullseye-slim@sha256:3677b069896410aee89fb7e0d2d32689dbea14c549012741830544efa4692c81 AS cache
FROM --platform=$BUILDPLATFORM node:20.13.1-bullseye-slim@sha256:af5fb4447e73fdbbf4cec9fcdbc545061a5a13db1b5d21f479302a9c4e56de0b AS cache
WORKDIR /app

COPY ./.yarn/ ./.yarn/
COPY ./package.json ./.yarnrc.yml ./yarn.lock ./
RUN yarn --immutable

FROM --platform=$BUILDPLATFORM node:20.13.1-bullseye-slim@sha256:3677b069896410aee89fb7e0d2d32689dbea14c549012741830544efa4692c81 AS build
FROM --platform=$BUILDPLATFORM node:20.13.1-bullseye-slim@sha256:af5fb4447e73fdbbf4cec9fcdbc545061a5a13db1b5d21f479302a9c4e56de0b AS build
ENV NEXT_TELEMETRY_DISABLED=1
WORKDIR /app

COPY --from=cache /app/node_modules/ ./node_modules/
COPY ./ ./
RUN yarn build

FROM --platform=$TARGETPLATFORM node:20.13.1-bullseye-slim@sha256:3677b069896410aee89fb7e0d2d32689dbea14c549012741830544efa4692c81 AS runtime
FROM --platform=$TARGETPLATFORM node:20.13.1-bullseye-slim@sha256:af5fb4447e73fdbbf4cec9fcdbc545061a5a13db1b5d21f479302a9c4e56de0b AS runtime
ENV NODE_ENV="production"
ENV PORT=3000
ENV NEXT_TELEMETRY_DISABLED=1
Expand Down

0 comments on commit 18cea0a

Please sign in to comment.