twenty/infra/dev/twenty-dev/Dockerfile

28 lines
424 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 .
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"]