We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents abf9f8b + 3a83e61 commit c46e056Copy full SHA for c46e056
1 file changed
Dockerfile
@@ -13,5 +13,8 @@ RUN pip install --no-cache-dir -r requirements.txt
13
# 애플리케이션 코드 복사
14
COPY . .
15
16
-# # FastAPI 서버 실행
17
-# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
+# 포트 노출 (FastAPI용 8000, MLflow용 5000)
+EXPOSE 8000 5000
18
+
19
+# FastAPI + MLflow 서버 동시 실행
20
+CMD ["bash", "-c", "mlflow server --host 0.0.0.0 --port 5000 & uvicorn main:app --host 0.0.0.0 --port 8000"]
0 commit comments