twenty/infra/dev/twenty-dev/Dockerfile
Charles Bochet 1c5c71bc48
Reduce image size (#2306)
* Reduce image size

* Clean dependencies

* Clean dependencies
2023-10-31 21:43:16 +01:00

22 lines
392 B
Docker

FROM node:18.16-bullseye as twenty-dev
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
CMD ["tail", "-f", "/dev/null"]