Skip to content

Commit f6d6189

Browse files
committed
info
1 parent b5a8ac5 commit f6d6189

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,17 @@ docker build -t teams-ai-agent .
152152
docker run -d -p 3000:3000 teams-ai-agent
153153
```
154154

155+
> **Note:**
156+
> * Configure environment variables **directly in your hosting platform’s dashboard**, such as **Railway**, **AWS ECS / Lightsail**, or **Render** — no `.env` file needed.
157+
> * Most CI/CD platforms automatically include environment variables for required build arguments when running the Docker build.
158+
>
159+
> - For example, the build command would be like:
160+
> `docker build --build-arg VITE_API_BASE_URL="https://api.topcoder.com/v6/mcp/agent" -t teams-ai-agent .`
161+
>
162+
> *
155163
> **💡 Note:**
156-
> * Configure environment variables **directly in your hosting platform’s dashboard**, such as **Railway**, **AWS ECS / Lightsail**, or **Render** — no `.env` file needed.
157-
> * Or root .env for manual or local build.
164+
> * Local docker build will use root .env since it is not added to `.dockerignore`,
165+
> * So no need to pass VITE_API_BASE_URL as Arg at `docker build -t teams-ai-agent .`
158166
159167
---
160168

0 commit comments

Comments
 (0)