mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-28 23:03:41 +03:00
Fix bug prisma build on server
This commit is contained in:
parent
f1058ffcf5
commit
7b2033e5a4
@ -3,13 +3,11 @@ FROM node:18.16.0-alpine as server
|
||||
COPY ./server/package.json ./
|
||||
COPY ./server/package-lock.json ./
|
||||
RUN npm install
|
||||
|
||||
RUN npx prisma generate
|
||||
|
||||
WORKDIR /app/server
|
||||
COPY ./server .
|
||||
|
||||
RUN npm run build
|
||||
RUN npx prisma generate
|
||||
|
||||
|
||||
CMD ["node", "dist/main"]
|
||||
|
Loading…
Reference in New Issue
Block a user