Skip to content

The open alternative to Salesforce, designed for AI.

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

neo7739307c718cfd7
diff --git a/packages/twenty-docker/twenty/Dockerfile b/packages/twenty-docker/twenty/Dockerfile
index d2f4b4a6b5b..fe568468c25 100644
--- a/packages/twenty-docker/twenty/Dockerfile
+++ b/packages/twenty-docker/twenty/Dockerfile
@@ -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 .