agnets done
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -33,6 +33,21 @@ COPY . .
|
||||
ARG VITE_API_BASE_URL=https://mcp.krowforce.com/api/v1
|
||||
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
|
||||
|
||||
# Owliver's agent endpoint, for exactly the same reason and with exactly the
|
||||
# same failure if it is missing.
|
||||
#
|
||||
# In development this is left relative and vite's proxy carries it to the
|
||||
# backend, which is why the .env in the repository sets `/api/v1`. That value
|
||||
# cannot reach this build — .dockerignore excludes .env* — and a relative path
|
||||
# here would be served by the nginx stage as a static file, so a run POST would
|
||||
# come back 405 Method Not Allowed rather than an answer.
|
||||
#
|
||||
# Empty is not neutral either: with no value the panel reports that no agent is
|
||||
# configured, which is honest but is not what a deployment carrying agents
|
||||
# should say.
|
||||
ARG VITE_AGENT_API=https://mcp.krowforce.com/api/v1
|
||||
ENV VITE_AGENT_API=$VITE_AGENT_API
|
||||
|
||||
RUN npm run build
|
||||
|
||||
# ---- Runtime stage ----
|
||||
|
||||
Reference in New Issue
Block a user