twenty/infra/dev/twenty-dev/Dockerfile
Weiko 3851e0f992
Fix missing patches folder to deploy server (#1771)
* Fix missing patches folder to deploy server

* Fix missing patches folder to deploy server

* remove extra line

* add fix for twenty-dev
2023-09-29 15:41:09 +02:00

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"]