mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 17:12:53 +03:00
f935a6b723
* Re-write test with storybook testing library * Update CI
26 lines
395 B
Docker
26 lines
395 B
Docker
FROM node:18.16.0 as front
|
|
|
|
WORKDIR /app/front
|
|
|
|
COPY ../../front/package.json .
|
|
COPY ../../front/package-lock.json .
|
|
RUN npm install
|
|
RUN npx playwright install-deps
|
|
|
|
WORKDIR /app/server
|
|
|
|
COPY ../../server/package.json .
|
|
COPY ../../server/package-lock.json .
|
|
RUN npm install
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ../.. .
|
|
|
|
WORKDIR /app/server
|
|
RUN npx prisma generate
|
|
|
|
WORKDIR /app
|
|
|
|
CMD ["tail", "-f", "/dev/null"]
|