1
1
mirror of https://github.com/twentyhq/twenty.git synced 2024-12-21 10:51:50 +03:00
twenty/infra/dev/twenty-dev/Dockerfile

29 lines
460 B
Docker
Raw Normal View History

FROM node:18.16-bullseye as front
COPY /../../packages /app/packages
2023-04-09 17:43:43 +03:00
2023-04-12 16:08:27 +03:00
WORKDIR /app/front
2023-01-27 14:12:04 +03:00
COPY ../../front/package.json .
COPY ../../front/yarn.lock .
RUN yarn install
RUN npx playwright install-deps
2023-01-27 14:12:04 +03:00
2023-05-25 16:56:28 +03:00
WORKDIR /app/server
COPY ../../server/package.json .
COPY ../../server/yarn.lock .
COPY ../../server/patches ./patches
RUN yarn install
2023-05-25 16:56:28 +03:00
WORKDIR /app
COPY ../.. .
WORKDIR /app/server
2023-05-25 16:56:28 +03:00
RUN npx prisma generate
WORKDIR /app
CMD ["tail", "-f", "/dev/null"]