mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 13:37:22 +00:00
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:
parent
b320de966c
commit
9307c718cf
1 changed files with 12 additions and 0 deletions
|
|
@ -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 .
|
||||
|
|
|
|||
Loading…
Reference in a new issue