Files
auto-stock/mcp-server/Dockerfile
2025-11-14 11:05:31 +09:00

17 lines
308 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Python 의존성 설치
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 애플리케이션 코드 복사
COPY . .
# 포트 노출
EXPOSE 8001
# 애플리케이션 실행
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8001"]