Agent 서버 구축: 멀티테넌트 협상 PoC (UCB Q-Table 학습 + /chat + 14 API + 학습검증 하네스), config 단일화(local.toml) + 빌드 경량화
This commit is contained in:
1 parent
212725e5f9
commit
951d6eab84
140 files changed
+6689
-214
No files matched your search
@@ -0,0 +1,17 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# 의존성은 모두 wheel 제공(컴파일러 불필요) → build-essential 없이 경량 빌드.
|
||||
# 의존성 먼저 설치 (레이어 캐시 활용)
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
# 항상 APP_ENV=local 로 실행 → config.local.toml 사용.
|
||||
ENV APP_ENV=local
|
||||
|
||||
EXPOSE 9500
|
||||
|
||||
CMD ["python", "web_main.py"]
|
||||
Reference in new issue
Block a user