Dockerfile update (#10007)

partially fixes https://github.com/twentyhq/core-team-issues/issues/371
This commit is contained in:
Guillim
2025-02-04 17:11:50 +01:00
committed by GitHub
parent 0675017b5e
commit 0113e40399

View File

@ -26,6 +26,9 @@ COPY ./packages/twenty-emails /app/packages/twenty-emails
COPY ./packages/twenty-shared /app/packages/twenty-shared
COPY ./packages/twenty-server /app/packages/twenty-server
RUN npx nx run twenty-shared:build
RUN npx nx run twenty-emails:build
RUN npx nx run twenty-server:build
RUN mv /app/packages/twenty-server/dist /app/packages/twenty-server/build
RUN npx nx run twenty-server:build:packageJson