Migrate to a monorepo structure (#2909)
This commit is contained in:
21
packages/twenty-docker/dev/twenty-dev/Dockerfile
Normal file
21
packages/twenty-docker/dev/twenty-dev/Dockerfile
Normal file
@ -0,0 +1,21 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user