Cannot build with docker set to runserver
alecvn opened this issue · 7 comments
What happened?
I want to have the cookiecutter setup my project so that I run runserver via a docker container.
I ran the basic setup, but when choosing docker runserver option I received an error when running docker-compose up --build -d
:
Pulling worker (project-slug:latest)...
ERROR: pull access denied for project-slug, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Where project-slug
is the suggested project-slug for my app.
What should've happened instead?
Docker should've built images correctly.
Steps to reproduce
Basic steps, just use the docker runserver option instead of default which is n.
I am definitely logged into docker hub.
Kubuntu 18.04
Docker version 19.03.6
I'm also having problems with the docker option 'runserver'. Last lines in stacktrace:
File "c:\users\finn\appdata\local\programs\python\python38\lib\subprocess.py", line 512, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['pipenv', 'lock', '--requirements']' returned non-zero exit status 1. ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
got the same problem , tried many diffenrt obtions in ubuntu with python 3.8 and debian with python 3.7
subprocess.CalledProcessError: Command '['pipenv', 'lock', '--requirements']' returned non-zero exit status 1.
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)
@anasir514 This is due to a dependency bug that's popped up in the last week. I'm not sure if anyone is even aware of it to be looking at it.
Isn't that more of a problem with dependencies management in pipenv?
@anasir514 See here: #41 (comment)