twenty/infra/dev/twenty-dev/Dockerfile
Charles Bochet 77729e4d4b
Update installation doc (#2019)
* Update installation doc

* Update install scripts

* Update install scripts
2023-10-14 13:43:45 +02:00

30 lines
484 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 yarn database:setup
RUN yarn database:reset
WORKDIR /app
CMD ["tail", "-f", "/dev/null"]