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 with building docker image #88

Open
kinal1999 opened this issue May 7, 2024 · 10 comments
Open

Error with building docker image #88

kinal1999 opened this issue May 7, 2024 · 10 comments
Assignees

Comments

@kinal1999
Copy link

Screenshot 2024-05-07 at 12 26 38 PM
@universvm
Copy link
Member

@kinal1999 are you using the latest version of the repo?

@universvm universvm self-assigned this May 7, 2024
@kinal1999
Copy link
Author

@universvm I am using the latest version of the main branch repo. i added streamlit to the requirements and am getting the following error
ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' (/Users/kinal/Downloads/timed-design1-main/310/lib/python3.10/site-packages/typing_extensions.py)

@universvm
Copy link
Member

@kinal1999 I'm not sure if you are using the latest version because I believe we removed the BUDEFF dependency a while ago. I suggest you clone it again.

You don't need to add streamlit to the requirements. Please don't change anything you should be able to build as is.

@universvm
Copy link
Member

Please use the following command after cloning

cd timed-design
docker build --no-cache -t timed_design .

@kinal1999
Copy link
Author

Screenshot 2024-05-07 at 1 23 11 PM

@universvm
Copy link
Member

@kinal1999 are you able to get more information like a log? It is difficult to understand what went wrong from this screenshot other than ampal was not installed (which seems to be different from the first error you had so I'm assuming we are making progress)

@universvm
Copy link
Member

@kinal1999 I have pushed our compiled container to docker hub. hope it helps: https://hub.docker.com/r/universvm/timed-design

@CommunityDiscovery
Copy link

hi! i am still getting the same error. would you be able to assist deploying it on www.healthuniverse.com ?

@universvm
Copy link
Member

@CommunityDiscovery Have you tried the docker container https://hub.docker.com/r/universvm/timed-design

@universvm
Copy link
Member

universvm commented May 8, 2024

@kinal1999 Given that there's only 1 pull for the docker container, ie. mine, I don't think you're following the instructions. I have just tried to pull it on my mac and our AMD-based servers with no issues. My guess is that you're either using a different container or that you're not pulling the correct one from Docker.

I would be able to help you but please, at least let me know what you tried and the exact error messages, otherwise it is impossible for me to debug.

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

3 participants