Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Dockerize the Project #2

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

ssk090
Copy link
Contributor

@ssk090 ssk090 commented Dec 14, 2023

Pull Request Summary:

This pull request introduces Docker support for the project, enabling easier deployment and consistent environment setup. The project consists of two Python files (subtitles.py and chapters.py) and a run.sh bash script. The Dockerization process ensures that the project can be run within a containerized environment with all dependencies and configurations encapsulated.

Changes:

Dockerfile: Added a Dockerfile (Dockerfile) to define the container environment.
docker-compose.yml: Added a docker-compose.yml file to simplify the build and run process.
requirements.txt: Updated requirements.txt to include necessary dependencies and versions compatible with the project.
Environment Configuration: Modified the run.sh script and added environment variable configurations to the Dockerfile for flexibility.
Fixed Dependencies: Resolved issues related to package names in the requirements.txt file.

Usage:

docker compose build
docker compose up

Additional Information:

  • I have used basic gpt-3.5 API and ended up with an error. I urge you to try with gpt-4 API
image

@aadeshkulkarni aadeshkulkarni merged commit 06459b4 into aadeshkulkarni:master Dec 14, 2023
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.

None yet

2 participants