-
Notifications
You must be signed in to change notification settings - Fork 8
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
Create docker image #5
Comments
Can you assign this to me |
By the way, last night I changed it to use models via llm. |
Hi Tim, I've changed jobs three times in the past year because I wasn't finding anything interesting in my work, which led to a loss of interest in the tech field. However, your project has really got me excited. |
i wish it was that easy to install a new version of python, but oh, no, it truly sucks. Here's a couple easier methods Honestly, just change or rather, since you're using docker anyway, use the python3.10 base image |
Also, since you're in docker anyway, don't bother with the virtual environment. Docker provides all the isolation you need |
Out of memory while building? 🤔 if you're out of docker cache space you can look into clearing it, that does happen a lot (although you seem to know what you're doing, so maybe you tried that already). If you're out of RAM, I'm not sure what to say, none of this is particularly big. I've used the What stage does it die on? |
Are you talking about the "There is not enough space on the disk" error? You might need to increase the space available to the Docker cache. Regardless, that's a giant image, are we really using all that? |
Do we also need to config the openAI key?, Its in the config file. |
i don't think you want any secrets in the image itself. i imagine you'd pull them in via i mentioned this before, but btw, you should probably revoke the access token you posted a couple screenshots ago, just to be safe. |
Docker is for immutable infrastructure, but SQLite and config mutate it. You might want to look up how people package up databases, like postgres |
Create a docker image that runs
server.py
via uvicorn on all host names, exposes the port, etc. I'll push the image to docker central.The text was updated successfully, but these errors were encountered: