mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-22 11:31:39 +03:00
1c5c71bc48
* Reduce image size * Clean dependencies * Clean dependencies
22 lines
392 B
Docker
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"]
|