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