NOW_Product_Keyword / Dockerfile
ssboost's picture
Update Dockerfile
473f3e6 verified
raw
history blame
373 Bytes
# 베이스 이미지로 Python 3.9 사용
FROM python:3.9-slim
# 작업 디렉토리 설정
WORKDIR /app
# 필요한 패키지들을 설치
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 애플리케이션 소스 코드 복사
COPY . .
# FastAPI 애플리케이션 실행
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]