mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 09:02:11 +03:00
3851e0f992
* Fix missing patches folder to deploy server * Fix missing patches folder to deploy server * remove extra line * add fix for twenty-dev
29 lines
460 B
Docker
29 lines
460 B
Docker
FROM node:18.16-bullseye as front
|
|
|
|
COPY /../../packages /app/packages
|
|
|
|
WORKDIR /app/front
|
|
|
|
COPY ../../front/package.json .
|
|
COPY ../../front/yarn.lock .
|
|
RUN yarn install
|
|
RUN npx playwright install-deps
|
|
|
|
WORKDIR /app/server
|
|
|
|
COPY ../../server/package.json .
|
|
COPY ../../server/yarn.lock .
|
|
COPY ../../server/patches ./patches
|
|
RUN yarn install
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ../.. .
|
|
|
|
WORKDIR /app/server
|
|
RUN npx prisma generate
|
|
|
|
WORKDIR /app
|
|
|
|
CMD ["tail", "-f", "/dev/null"]
|