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:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user