apod-api
apod-api copied to clipboard
Fix Docker build command failing
This PR solves two issues:
- The Python version in the old Dockerfile was tied to the latest version of the
3-alpine
Docker image. This created an error in thedocker build
command where the Python version was no longer compatible with the version of Pillow. This issue gives a more detailed explanation of the problem. This PR locks the python version to3.9
. - The
pip install
layer of the Dockerfile fails because the image does not have the dependancies necessary to install everything inrequirements.txt
. This issue gives a more detailed explanation of the problem. This PR adds a layer in the Dockerfile to install these dependancies.
Closes #97 Closes #99