mirror of
https://github.com/lingble/twenty.git
synced 2025-11-01 21:27:58 +00:00
Update scripts and documentation to use nx and new monorepo architecture (#2912)
* Update scripts and documentation to use nx and new monorepo architecture * Start fixing docker * Migrate eslint plugin and postgres setup * Fix docker * Fix patches * Fix * fix: wip try to fix the patches * Apply patches --------- Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
FROM node:18.16-bullseye as docs
|
||||
FROM node:18.16-bullseye as twenty-docs
|
||||
|
||||
WORKDIR /app/docs
|
||||
WORKDIR /app
|
||||
|
||||
COPY ../../docs/package.json .
|
||||
COPY ../../docs/yarn.lock .
|
||||
COPY ../../../../package.json .
|
||||
COPY ../../../../yarn.lock .
|
||||
COPY ../../../../.yarnrc.yml .
|
||||
COPY ../../../packages/twenty-docs/package.json /app/packages/twenty-docs/package.json
|
||||
|
||||
RUN yarn set version 4.0.2
|
||||
RUN yarn
|
||||
|
||||
COPY ../../docs .
|
||||
WORKDIR /app/packages/twenty-docs
|
||||
|
||||
CMD ["yarn", "start"]
|
||||
CMD ["tail", "-f", "/dev/null"]
|
||||
|
||||
Reference in New Issue
Block a user