Skip to content
Merged
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
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

# The build stage always runs on the builder's own architecture. The output is
# static files, so both image platforms share one build.
FROM --platform=$BUILDPLATFORM node:20.18-alpine AS build
FROM --platform=$BUILDPLATFORM node:26.12-alpine AS build
WORKDIR /src
RUN corepack enable && corepack prepare pnpm@9.12.0 --activate
# Node 25 and later ship without corepack, so pnpm comes from npm. Keep the
# version in step with "packageManager" in package.json.
RUN npm install -g pnpm@9.12.0
COPY . .
RUN pnpm install --frozen-lockfile
RUN pnpm -r build

FROM nginxinc/nginx-unprivileged:1.27-alpine
FROM nginxinc/nginx-unprivileged:1.30-alpine
LABEL org.opencontainers.image.source=https://github.com/xraph/fabriq-admin

USER root
Expand Down
Loading