FROM python:3.9 # 작업 디렉토리 설정 WORKDIR /app # 필요 패키지 설치 COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # FastAPI 애플리케이션 복사 COPY app.py . # FastAPI 실행 CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]