KU_SW_Academy / Dockerfile
heybaeheef's picture
Upload 9 files
3cc9d6f verified
raw
history blame contribute delete
458 Bytes
FROM python:3.10-slim
WORKDIR /app
# ์‹œ์Šคํ…œ ํŒจํ‚ค์ง€ ์„ค์น˜
RUN apt-get update && apt-get install -y \
libsndfile1 \
ffmpeg \
git \
&& rm -rf /var/lib/apt/lists/*
# Python ํŒจํ‚ค์ง€ ์„ค์น˜
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# ์•ฑ ์ฝ”๋“œ ๋ณต์‚ฌ
COPY . .
# Hugging Face Spaces๋Š” ํฌํŠธ 7860 ์‚ฌ์šฉ
EXPOSE 7860
# ์„œ๋ฒ„ ์‹คํ–‰
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]