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

error deploying containers - #10

Closed
ypbl opened this issue Oct 25, 2020 · 2 comments
Closed

error deploying containers - #10

ypbl opened this issue Oct 25, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@ypbl
Copy link

ypbl commented Oct 25, 2020

Hi @pfwd
I found the following error when deploying docker-compose -f docker-compose.deploy.yml up -d.
The error appears with the product service Dockerfile :

ERROR: unsatisfiable constraints:
py-mysqldb (missing):
required by: world[py-mysqldb]
ERROR: Service 'product' failed to build : The command '/bin/sh -c apk add --update py-mysqldb gcc libc-dev mariadb-dev nodejs npm && pip install --upgrade pip && pip install -r requirements.txt && rm -rf /var/cache/apk/*' returned a non-zero code: 1

Thanks for your help

@pfwd
Copy link
Collaborator

pfwd commented Oct 25, 2020

@ypbl I have removed py-mysqldb and added build-base can you try again please

@pfwd pfwd added the bug Something isn't working label Oct 25, 2020
@ypbl
Copy link
Author

ypbl commented Oct 25, 2020

Thanks @pfwd, it works perfectly now.

@ypbl ypbl closed this as completed Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants