speechlibProject / Dockerfile
pgkwon1's picture
Upload 4 files
4ebed0f verified
raw
history blame contribute delete
402 Bytes
FROM python:3.10-slim
WORKDIR /app
# ์‹œ์Šคํ…œ ํŒจํ‚ค์ง€ ์„ค์น˜
RUN apt-get update && apt-get install -y \
ffmpeg \
git \
&& rm -rf /var/lib/apt/lists/*
# Python ํŒจํ‚ค์ง€ ์„ค์น˜
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# ์•ฑ ๋ณต์‚ฌ
COPY app.py .
# ํฌํŠธ ๋…ธ์ถœ
EXPOSE 7860
# ์‹คํ–‰
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]