twenty/packages/twenty-docker
Charles Bochet a174aff5c8
fix(infra): copy nx.json and tsconfig.base.json into website-new image (#19902)
## Summary

Fix the website-new Docker build which currently fails with:

\`\`\`
NX   \"production\" is an invalid fileset.
All filesets have to start with either {workspaceRoot} or {projectRoot}.
\`\`\`

\`packages/twenty-website-new/project.json\` declares \`\"inputs\":
[\"production\", \"^production\"]\` — a named input defined in the root
\`nx.json\`. Without copying \`nx.json\` into the image, nx can't
resolve it and the build fails.

Mirrors what the main twenty Dockerfile already does (line 9 of
\`packages/twenty-docker/twenty/Dockerfile\` copies both
\`tsconfig.base.json\` and \`nx.json\`).

## Test plan

- [ ] Re-run twenty-infra's \`Deploy Website New\` workflow (dev) —
build step should now pass

Made with [Cursor](https://cursor.com)
2026-04-21 00:45:17 +02:00
..
grafana/provisioning/datasources feat(infra-dev): add opentelemetry and grafana (#12808) 2025-06-24 12:13:24 +02:00
helm/twenty fix(helm): add unit tests, extraEnv schema validation, and minor fixes (#18836) 2026-03-22 21:45:31 +01:00
k8s feat: helm chart (#16808) 2026-01-08 12:45:46 +00:00
otel-collector feat(infra-dev): add opentelemetry and grafana (#12808) 2025-06-24 12:13:24 +02:00
podman Use correct env var name in podman-compose (#11858) 2025-05-04 12:23:02 +02:00
scripts chore: improve password strength in install script (#12878) (#12896) 2025-06-26 11:09:36 +02:00
twenty Add twenty-managed Docker target with AWS CLI for EKS deployments (#19816) 2026-04-17 17:54:10 +00:00
twenty-app-dev/rootfs/etc/s6-overlay Improve getting started doc (#19138) 2026-04-01 20:39:44 +00:00
twenty-postgres-spilo Begin moving to postgres spilo + adding pgvector (#8309) 2024-11-15 09:38:30 +01:00
twenty-website Migrate from ESLint to OxLint (#18443) 2026-03-06 01:03:50 +01:00
twenty-website-new fix(infra): copy nx.json and tsconfig.base.json into website-new image (#19902) 2026-04-21 00:45:17 +02:00
.env.example feat: add S3 presigned URL redirect for file downloads (#18864) 2026-03-25 16:15:15 +01:00
docker-compose.dev.yml Refactor dev environment setup with auto-detection and Docker support (#18564) 2026-03-12 08:43:58 +01:00
docker-compose.yml fix: migrate driver modules to DriverFactoryBase lazy-loading pattern (#18731) 2026-03-18 16:00:45 +01:00
Makefile chore: optimize app-dev Docker image and add CI test (#18856) 2026-03-24 08:44:30 +01:00