Add twenty-managed Docker target with AWS CLI for EKS deployments (#19816)

Separate build target so self-hosters have slimmer image but managed
infra gets aws cli for automation
This commit is contained in:
neo773 2026-04-17 23:24:10 +05:30 committed by GitHub
parent b320de966c
commit 9307c718cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,6 +125,18 @@ CMD ["node", "dist/main"]
ENTRYPOINT ["/app/entrypoint.sh"]
# ===========================================================================
# Target: twenty-aws
# docker build --target twenty-aws -f packages/twenty-docker/twenty/Dockerfile .
# ===========================================================================
FROM twenty AS twenty-aws
USER root
RUN apk add --no-cache aws-cli
USER 1000
# ===========================================================================
# Target: twenty-app-dev (all-in-one with Postgres + Redis)
# docker build --target twenty-app-dev -f packages/twenty-docker/twenty/Dockerfile .