update backend building

This commit is contained in:
Matthias Hochmeister
2026-02-26 14:40:47 +01:00
parent d596f61d9c
commit dc6e76e72f

View File

@@ -15,6 +15,9 @@ COPY package*.json ./
# Install all dependencies (including devDependencies for building) # Install all dependencies (including devDependencies for building)
RUN npm ci RUN npm ci
# Expose local binaries (e.g. tsc) to the shell PATH so npm run build resolves them
ENV PATH="/app/node_modules/.bin:$PATH"
# Copy TypeScript configuration and source code # Copy TypeScript configuration and source code
COPY tsconfig.json ./ COPY tsconfig.json ./
COPY src ./src COPY src ./src