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

Fix Docker build command failing #105

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

kbonnici
Copy link

@kbonnici kbonnici commented Apr 5, 2023

This PR solves two issues:

  1. The Python version in the old Dockerfile was tied to the latest version of the 3-alpine Docker image. This created an error in the docker 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 to 3.9.
  2. The pip install layer of the Dockerfile fails because the image does not have the dependancies necessary to install everything in requirements.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

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.

AttributeError in Docker image build Docker build unable to install Pillow
1 participant