diff --git a/frontend/Dockerfile b/frontend/Dockerfile index a5cf7d4..421682b 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,9 +1,9 @@ FROM node:22-alpine AS build WORKDIR /app COPY package*.json ./ -RUN npm ci +RUN npm ci --ignore-scripts COPY . . -RUN npm run build +RUN NODE_OPTIONS="--max-old-space-size=1024" npm run build FROM nginx:alpine COPY --from=build /app/dist /usr/share/nginx/html