Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: separate dockerfile to ease deployment#369

Open
descampsk wants to merge 2 commits intopresenton:mainfrom
ActionableHQ:separate-dockerfile-to-ease-deployment
Open

feat: separate dockerfile to ease deployment#369
descampsk wants to merge 2 commits intopresenton:mainfrom
ActionableHQ:separate-dockerfile-to-ease-deployment

Conversation

@descampsk
Copy link

Closes #368

This PR separates each servers into its own Dockerfile to ease the deployment in Cloud Provider solutions like Cloud Run.

It accelerate also the developpment by reducing the build size of each image.

It adds a new docker compose to use this new images.


id: uuid.UUID = Field(primary_key=True, default_factory=uuid.uuid4)
content: str
content: str = Field(sa_column=Column(Text, nullable=False))
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue with MYSQL external database and long content

instructions: Optional[str] = Field(sa_column=Column(String), default=None)
tone: Optional[str] = Field(sa_column=Column(String), default=None)
verbosity: Optional[str] = Field(sa_column=Column(String), default=None)
instructions: Optional[str] = Field(sa_column=Column(Text), default=None)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue with MYSQL external database and long content

tone: Optional[str] = Field(sa_column=Column(String), default=None)
verbosity: Optional[str] = Field(sa_column=Column(String), default=None)
instructions: Optional[str] = Field(sa_column=Column(Text), default=None)
tone: Optional[str] = Field(sa_column=Column(String(128)), default=None)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue with MYSQL external database. String without size is not accepted

content: dict = Field(sa_column=Column(JSON))
html_content: Optional[str]
speaker_note: Optional[str] = None
speaker_note: Optional[str] = Field(sa_column=Column(Text), default=None)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue with MYSQL external database and long content

uvicorn.run(
"api.main:app",
host="127.0.0.1",
host="0.0.0.0",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed for the new docker compose and the deployment on Cloud Run

@@ -0,0 +1,2 @@
#!/bin/sh
exec npm run start -- -H 0.0.0.0 -p "$PORT"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed for the new docker compose and the deployment on Cloud Run

@descampsk descampsk force-pushed the separate-dockerfile-to-ease-deployment branch 2 times, most recently from e534bfd to 44ed4b7 Compare December 19, 2025 11:18
@descampsk descampsk force-pushed the separate-dockerfile-to-ease-deployment branch from 44ed4b7 to 7c72fb1 Compare January 9, 2026 12:17
@descampsk descampsk force-pushed the separate-dockerfile-to-ease-deployment branch from 7b4b488 to 2fac26c Compare January 12, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improvement to deploy Presenton for production in Cloud Environment

1 participant