SER_wav2vec / Dockerfile
marshal-yash's picture
Upload 7 files
4fcb97a verified
raw
history blame contribute delete
386 Bytes
FROM python:3.10
WORKDIR /app
# Install OS-level audio libs
RUN apt-get update && apt-get install -y \
libsndfile1 \
ffmpeg
# Copy requirements first
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the entire backend
COPY . .
# Hugging Face uses port 7860
EXPOSE 7860
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]