diff --git a/DockerfileConnector b/Dockerfile similarity index 89% rename from DockerfileConnector rename to Dockerfile index 57ba4e1..c61af70 100644 --- a/DockerfileConnector +++ b/Dockerfile @@ -27,4 +27,4 @@ COPY config.yaml ./ ENV PATH="/app/.venv/bin:$PATH" -CMD ["uvicorn", "va_agent.server:app", "--host", "0.0.0.0"] +CMD ["uvicorn", "va_agent.server:app", "--host", "0.0.0.0", "--port", "8080"] diff --git a/src/va_agent/config.py b/src/va_agent/config.py index e36eade..cb7e0f6 100644 --- a/src/va_agent/config.py +++ b/src/va_agent/config.py @@ -32,6 +32,7 @@ class AgentSettings(BaseSettings): model_config = SettingsConfigDict( yaml_file=CONFIG_FILE_PATH, extra="ignore", # Ignore extra fields from config.yaml + env_file=".env" ) @classmethod