Skip to content

Commit 16c73d0

Browse files
committed
feat: Add the log params for ai #5
1 parent 8b3906c commit 16c73d0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

msa-ai-service/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ WORKDIR /app
55
COPY requirements.txt .
66
RUN pip install --no-cache-dir -r requirements.txt
77

8+
# 1. log_config.yaml 파일을 컨테이너 안으로 복사하는 라인 추가
9+
COPY log_config.yaml .
10+
811
COPY . .
912

10-
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
13+
# 2. CMD 명령어에 --log-config 옵션 추가
14+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--log-config", "log_config.yaml"]

0 commit comments

Comments
 (0)