This PR adds a Dockerfile to the project in order to dockerize the Django application. Dockerizing the application allows for easy deployment and running of the application in a consistent and isolated environment.
Summary of Changes
Created a Dockerfile at the root of the project.
Used the Python base image as the starting point.
Set the working directory in the Docker image to "/app".
Copied the application code into the Docker image.
Installed the application dependencies using pip.
Specified the command to run the application when a Docker container is started.
Please review and merge this PR to enable Dockerization of the Django application.
Fixes #2.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/dockerize-app
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR adds a Dockerfile to the project in order to dockerize the Django application. Dockerizing the application allows for easy deployment and running of the application in a consistent and isolated environment.
Summary of Changes
Please review and merge this PR to enable Dockerization of the Django application.
Fixes #2.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.