update backend building

This commit is contained in:
Matthias Hochmeister
2026-02-26 14:42:39 +01:00
parent dc6e76e72f
commit 6f39a39014

View File

@@ -12,8 +12,8 @@ RUN apk add --no-cache python3 make g++
# Copy package files for dependency installation # Copy package files for dependency installation
COPY package*.json ./ COPY package*.json ./
# Install all dependencies (including devDependencies for building) # Install all dependencies including devDependencies regardless of NODE_ENV
RUN npm ci RUN npm ci --include=dev
# Expose local binaries (e.g. tsc) to the shell PATH so npm run build resolves them # Expose local binaries (e.g. tsc) to the shell PATH so npm run build resolves them
ENV PATH="/app/node_modules/.bin:$PATH" ENV PATH="/app/node_modules/.bin:$PATH"