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

Directory Cosette-Web inside docker shell missing #14

Open
matthiastz opened this issue Dec 21, 2019 · 1 comment
Open

Directory Cosette-Web inside docker shell missing #14

matthiastz opened this issue Dec 21, 2019 · 1 comment

Comments

@matthiastz
Copy link

matthiastz commented Dec 21, 2019

I followed the instructions you provided in the README file, but after running docker run ... you state that one should cd \Cosette-Web && sh run_server.sh (Run the server), but that directory is not existing.

proposed fix: add -v $(pwd)/:/Cosette-Web

full command:

sudo docker run --name cosette --entrypoint /bin/bash -p 5000:5000 -e COS_DB_HOST=10.200.10.1 -e COS_DB_USERNAME=cosette -e COS_DB_DATABASE=cosette -e COS_DB_PASSWORD='cosetteisawesome' -v $(pwd)/:/Cosette-Web  -ti shumo/cosette-frontend 

edit:
after I cd into Cosette-Web and try to sh run_server.sh I get the following error message from inside the docker shell:

/usr/bin/python: No module named flask

So I guess the python dependencies from requirements.txt were not installed. Why is that? I thought the Dockerfile would automatically take care of that.
(RUN pip install -r /Cosette-Web/requirements.txt https://github.com/uwdb/Cosette-Web/blob/master/Dockerfile#L10)

@ReinierKoops
Copy link

ReinierKoops commented Jun 21, 2021

Seems like this project is not maintained sadly.
However I found the error in the instructions. It mentions the wrong docker image, that should fix your problem.

It should be:
docker run --name cosette --entrypoint /usr/bin/fish -p 5000:5000 -e COS_DB_HOST=10.200.10.1 -e COS_DB_USERNAME=cosette -e COS_DB_DATABASE=cosette -e COS_DB_PASSWORD='cosetteisawesome' -ti dli123/cosette-web

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

No branches or pull requests

2 participants