Add Docker support for frontendAdd frontend docker support#584
Add Docker support for frontendAdd frontend docker support#584abhinav12222363 wants to merge 3 commits intoValueCell-ai:mainfrom
Conversation
|
Thanks for working on this! The changes could effectively solve the host binding issue. I have a couple of suggestions to optimize the Dockerfile:
Any idea on this? @DigHuang |
|
Thanks for the review and the suggestions! Yes, the intention of this Dockerfile is to support remote development environments, where running I agree with using the Bun base image — I’ll update the Dockerfile to use For production, a build-and-serve approach makes sense, and we can consider adding a separate production Dockerfile or docker-compose setup in a follow-up if needed. |
|
I’ve updated the Dockerfile to use the Bun base image as suggested and verified it works locally. Thanks! |
This PR adds Docker support for the frontend to simplify remote deployment.
A frontend Dockerfile has been added that runs the React Router dev server inside a Docker container and binds it to 0.0.0.0, fixing the issue where port 1420 was inaccessible on remote Linux servers.