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