Closed joshuasundance-swca closed 5 months ago
@joshuasundance-swca is attempting to deploy a commit to the LlamaIndex Team on Vercel.
A member of the Team first needs to authorize it.
Anything I can do on this PR, or should it be closed? Thanks.
@marcusschiesser is it possible to get some feedback here? Official Docker images would make this app easier to deploy to Kubernetes, for example.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
chat-llama | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 17, 2024 5:29am |
Sorry, @joshuasundance-swca and @benlangfeld - that must have slipped through. Merged it.
Awesome, thanks! Let me know if there are further contributions you'd like to see, particularly related to Docker and/or Kubernetes. :)
This PR introduces simple Docker support for the
chat-llamaindex
project. Here are the main highlights:Dockerfile: A multi-stage Dockerfile has been created. The build stage uses
node:18-bookworm-slim
to set up the application, and the production stage copies over the necessary build artifacts. I'm not sure this multi-stage process is entirely necessary here, but it seems like best practice.Docker-Compose: Added a
docker-compose.yml
file. This file defines a single service for the web app, ensures proper mapping for ports and volumes, and checks to be sure thatOPENAI_API_KEY
is defined.README Updates: Added a dedicated Docker section to guide developers on how to build and run the application using Docker and Docker Compose.
.dockerignore: Added to ensure that certain files/folders, like
.env.template
and.github
, are not included in the Docker build context. This may help in speeding up the build process and keep the Docker image clean.Please review the changes and let me know if you have any questions or suggestions.
P.S. Thank you for all of your hard work. :)