fix(docker): switch to npm install and increase memory limit for robust build

This commit is contained in:
Reviflow Bot committed 2026-01-31 11:54:31 +01:00
1 parent 501d083e03
commit e0a7649f7d
1 file changed
+2 -1
+2 -1
View File
@@ -2,7 +2,8 @@
FROM node:20-alpine as frontend-build
WORKDIR /app/frontend
COPY frontend/package*.json ./
RUN npm ci
ENV NODE_OPTIONS="--max-old-space-size=4096"
RUN npm install
COPY frontend/ ./
RUN mkdir -p /app/backend/static && npm run build