Skip to content

I want to develop or update agent-web without rebuild docker #2494

Closed Answered by mmabrouk
Nhagg asked this question in Q&A
Discussion options

You must be logged in to vote

Here are your options for updating the web interface without rebuilding the entire container:

  1. Default approach: Rebuild the web image and restart the container when making changes.

  2. Development mode: Run the frontend outside Docker using the run_oss.sh script. This works only in development mode but avoids rebuilds.

  3. Modified approach: Adapt the run_oss.sh script for production by:

    • Building the Next.js project
    • Running npm run start instead of the dev command
    • This lets you run the frontend outside Docker without rebuilding

Choose option 2 if development mode meets your needs, or option 3 for a production-ready external frontend.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Nhagg
Comment options

Comment options

You must be logged in to vote
2 replies
@Nhagg
Comment options

@mmabrouk
Comment options

Answer selected by mmabrouk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants