GitFive
GitFive copied to clipboard
Add Dockerfile for Python application deployment
Description:
This pull request adds a Dockerfile to enable Dockerized deployment of the project. The Dockerfile sets up a Python 3.10 environment, installs the necessary dependencies listed in requirements.txt, and sets up the application.
Changes Made:
- Added Dockerfile
- Set up the working directory to /usr/src/app
- Copied requirements.txt into the container
- Installed dependencies using pip
Additional Setup:
To complete the setup, the Dockerfile needs to execute 'python setup.py run' to run the application. This command should be added to the Dockerfile's CMD or ENTRYPOINT instruction.
Testing:
I have tested the Dockerfile locally to ensure that it builds successfully and the resulting Docker image runs the application without errors.