mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 09:02:11 +03:00
31f3950439
* Add a custom rule to prevent colors from being hardcoded in ESLint * Refactor colors * Create packages folder and fix colors * Remove external dependency for css alphabetical order linting * Fix install with yarn --------- Co-authored-by: Charles Bochet <charles@twenty.com>
28 lines
424 B
Docker
28 lines
424 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 .
|
|
RUN yarn install
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ../.. .
|
|
|
|
WORKDIR /app/server
|
|
RUN npx prisma generate
|
|
|
|
WORKDIR /app
|
|
|
|
CMD ["tail", "-f", "/dev/null"]
|