diff --git a/admin/Dockerfile b/admin/Dockerfile index 638a671..e935428 100644 --- a/admin/Dockerfile +++ b/admin/Dockerfile @@ -1,7 +1,7 @@ FROM node:22-alpine AS builder WORKDIR /app COPY package*.json ./ -RUN npm ci +RUN npm install COPY . . RUN npm run build diff --git a/backend/Dockerfile b/backend/Dockerfile index 7c71fca..bd82806 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,7 +1,7 @@ FROM node:22-alpine AS builder WORKDIR /app COPY package*.json ./ -RUN npm ci +RUN npm install COPY . . RUN npx prisma generate && npm run build