diff --git a/web/Dockerfile b/web/Dockerfile index 8586e39..1c35d0b 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -2,12 +2,14 @@ FROM node:20.12.0-alpine3.19 WORKDIR /app -COPY . . +COPY package*.json ./ + +RUN npm install -RUN cd web && npm install +COPY . . -RUN cd web && npx prisma generate +RUN npx prisma generate -RUN cd web && npm run build +RUN npm run build CMD ["npm", "run", "start"] \ No newline at end of file