mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-28 23:03:41 +03:00
Build prisma client based on schema
This commit is contained in:
parent
d4152fdcff
commit
ec245f20c6
@ -9,6 +9,8 @@ WORKDIR /app/server
|
||||
COPY ../../server/package.json .
|
||||
COPY ../../server/package-lock.json .
|
||||
RUN npm install
|
||||
RUN npx prisma generate
|
||||
|
||||
|
||||
COPY ../../server .
|
||||
|
||||
|
@ -9,5 +9,7 @@ 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