mirror of
https://github.com/R0m1k3/Reviflow.git
synced 2026-10-11 17:26:20 +02:00
fix(docker): switch to npm install and increase memory limit for robust build
This commit is contained in:
1 parent
501d083e03
commit
e0a7649f7d
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user