mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-29 15:25:45 +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.json .
|
||||||
COPY ../../server/package-lock.json .
|
COPY ../../server/package-lock.json .
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
RUN npx prisma generate
|
||||||
|
|
||||||
|
|
||||||
COPY ../../server .
|
COPY ../../server .
|
||||||
|
|
||||||
|
@ -9,5 +9,7 @@ WORKDIR /app/server
|
|||||||
COPY ./server .
|
COPY ./server .
|
||||||
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
RUN npx prisma generate
|
||||||
|
|
||||||
|
|
||||||
CMD ["node", "dist/main"]
|
CMD ["node", "dist/main"]
|
||||||
|
Loading…
Reference in New Issue
Block a user