Files
sulej.ch/Dockerfile.build
dependabot[bot] d6f5c0e9d3 chore(deps): bump node from 22.11.0-alpine3.20 to 24.1.0-alpine3.20 (#24)
Bumps node from 22.11.0-alpine3.20 to 24.1.0-alpine3.20.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.1.0-alpine3.20
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-17 13:21:06 +02:00

17 lines
280 B
Docker

FROM node:24.1.0-alpine3.20 AS build
WORKDIR /app
RUN npm install -g --force corepack \
&& corepack enable
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm run build
RUN mkdir -p /output && cp -r /app/build/. /output/
VOLUME /output