Skip to content

Conversation

@juliancoy
Copy link

No description provided.

@juliancoy juliancoy changed the title Adds Docker for Self-Hosting. Reworks .env as env.py Adds Docker for those whose workflow requires it Jan 12, 2025
@juliancoy
Copy link
Author

I started using Docker because of a versioning problem between httpx and openai (since resolved), and also because its easier to develop on Ubuntu24 which would otherwise require a venv. Furthermore Docker is likely to be useful in running production Node and Nginx containers for the full-stack application. As I am involved in several projects with various Python requirements, Docker is a critical part of my workflow. If this code is ever moved to the cloud, this setup allows for a consistent runtime experience.

This PR adds the option to run the Streamlit app (and ultimately scripted variations of the code) as a Docker container, allowing me to keep from messing with either virtual environments (difficult!) or changing the base Python installation on my computer.

I have also added a simple GitHub actions test, which results in the green checkmark when complete.

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.

1 participant