pashpashpash / vault-ai

OP Vault ChatGPT: Give ChatGPT long-term memory using the OP Stack (OpenAI + Pinecone Vector Database). Upload your own custom knowledge base files (PDF, txt, epub, etc) using a simple React frontend.
https://vault.pash.city
MIT License
3.26k stars 307 forks source link

Docker support #19

Open oscarsantillana opened 1 year ago

oscarsantillana commented 1 year ago

Please note - first time I create a dockerfile.

Need to add credentials in docker compose. Scripts are part of dockerfile so they are not needed in package.json. I was able to start the webapp in port 8100 but I get errors when uploading files. The same errors appear here https://vault.pash.city so I guess it is not an issue of the docker image.

Jasmin25 commented 1 year ago

Good job, beat me by a few hours. I was building on alpine; maybe worth trying to reduce the overall size?

oscarsantillana commented 1 year ago

Thanks! I was looking for better compatibility but perhaps makes sense to switch to alpine at some point.