We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b3906c commit 16c73d0Copy full SHA for 16c73d0
1 file changed
msa-ai-service/Dockerfile
@@ -5,6 +5,10 @@ WORKDIR /app
5
COPY requirements.txt .
6
RUN pip install --no-cache-dir -r requirements.txt
7
8
+# 1. log_config.yaml 파일을 컨테이너 안으로 복사하는 라인 추가
9
+COPY log_config.yaml .
10
+
11
COPY . .
12
-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