Skip to content

The open alternative to Salesforce, designed for AI.

chore: Pre build docker images (#2099) (#2131)

Ruslanf6b5943fc666
diff --git a/infra/prod/docs/Dockerfile b/infra/prod/docs/Dockerfile
index 972258f3252..385eb999230 100644
--- a/infra/prod/docs/Dockerfile
+++ b/infra/prod/docs/Dockerfile
@@ -12,5 +12,7 @@ COPY ./docs .
RUN npm run build
RUN yarn global add serve
+LABEL org.opencontainers.image.source=https://github.com/twentyhq/twenty
+LABEL org.opencontainers.image.description="This image provides a consistent and reproducible environment for the documentation."
CMD ["serve", "-s", "./build"]
diff --git a/infra/prod/front/Dockerfile b/infra/prod/front/Dockerfile
index 28b9ccc3b26..88c156bc647 100644
--- a/infra/prod/front/Dockerfile
+++ b/infra/prod/front/Dockerfile
@@ -21,5 +21,7 @@ WORKDIR /app/front
COPY --from=build /app/front/build ./build
RUN yarn global add serve
+LABEL org.opencontainers.image.source=https://github.com/twentyhq/twenty
+LABEL org.opencontainers.image.description="This image provides a consistent and reproducible environment for the frontend."
CMD ["serve", "build"]
diff --git a/infra/prod/server/Dockerfile b/infra/prod/server/Dockerfile
index db6bed954e1..2e795682a72 100644
--- a/infra/prod/server/Dockerfile
+++ b/infra/prod/server/Dockerfile
@@ -11,4 +11,7 @@ RUN npx prisma generate
RUN yarn build
+LABEL org.opencontainers.image.source=https://github.com/twentyhq/twenty
+LABEL org.opencontainers.image.description="This image provides a consistent and reproducible environment for the backend, ensuring it deploys faster and runs the same way regardless of the deployment environment."
+
CMD ["node", "dist/src/main"]