This commit is contained in:
@@ -2,6 +2,11 @@ FROM node:22-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# build:server runs `bash scripts/generate-version.sh` (set -o pipefail), and
|
||||
# the alpine base ships only ash/sh — without bash the build fails with
|
||||
# "bash: not found" (exit 127). The runtime stage installs bash separately.
|
||||
RUN apk add --no-cache bash
|
||||
|
||||
COPY package.json package-lock.json* ./
|
||||
COPY ui/package.json ui/package-lock.json* ./ui/
|
||||
RUN npm ci --ignore-scripts
|
||||
|
||||
Reference in New Issue
Block a user