Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Node.js to v23 #1664

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.20.3

COPY --from=node:22.9.0-alpine / /
COPY --from=node:23.0.0-alpine / /
COPY --from=rust:1.81.0-alpine / /

ENV PATH="/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Expand Down
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN \
rm pkg/package.json.bak


FROM --platform=$BUILDPLATFORM node:22.9.0-alpine AS yarn
FROM --platform=$BUILDPLATFORM node:23.0.0-alpine AS yarn
ENV FORCE_COLOR=true
ENV PRISMA_CLI_BINARY_TARGETS=linux-musl-openssl-3.0.x,linux-musl-arm64-openssl-3.0.x

Expand All @@ -60,7 +60,7 @@ RUN \
yarn tools


FROM --platform=$BUILDPLATFORM node:22.9.0-alpine AS test-backend
FROM --platform=$BUILDPLATFORM node:23.0.0-alpine AS test-backend
ENV FORCE_COLOR=true
ENV DOMAIN=example.com
ENV SUBDOMAIN=subdomain
Expand Down Expand Up @@ -103,7 +103,7 @@ RUN \
mv packages/backend/coverage /coverage/backend


FROM --platform=$BUILDPLATFORM node:22.9.0-alpine AS test-commons
FROM --platform=$BUILDPLATFORM node:23.0.0-alpine AS test-commons
ENV FORCE_COLOR=true

WORKDIR /workdir
Expand All @@ -126,7 +126,7 @@ RUN \
mv packages/commons/coverage /coverage/commons


FROM --platform=$BUILDPLATFORM node:22.9.0-alpine AS test-frontend
FROM --platform=$BUILDPLATFORM node:23.0.0-alpine AS test-frontend
ENV FORCE_COLOR=true

WORKDIR /workdir
Expand All @@ -151,7 +151,7 @@ RUN \
mv packages/frontend/coverage /coverage/frontend


FROM --platform=$BUILDPLATFORM node:22.9.0-alpine AS build-backend
FROM --platform=$BUILDPLATFORM node:23.0.0-alpine AS build-backend
ENV NODE_ENV=production
ENV FORCE_COLOR=true

Expand Down Expand Up @@ -185,7 +185,7 @@ RUN \
cp packages/backend/prisma/client/schema.prisma /app/prisma/client && \
ln -s ./client/schema.prisma /app/prisma/schema.prisma

FROM --platform=$BUILDPLATFORM node:22.9.0-alpine AS build-frontend
FROM --platform=$BUILDPLATFORM node:23.0.0-alpine AS build-frontend
ENV NODE_ENV=production
ENV FORCE_COLOR=true

Expand Down Expand Up @@ -237,7 +237,7 @@ ENTRYPOINT [ "codacy-coverage" ]


# required for Renovate to update the base image:
FROM node:22.9.0-alpine AS node
FROM node:23.0.0-alpine AS node

FROM alpine:3.20.3 AS deploy-base
ARG TARGETARCH
Expand Down
Loading