Hanuvak-backend / Dockerfile
Mr7Explorer's picture
Create Dockerfile
6a7a936 verified
raw
history blame contribute delete
322 Bytes
FROM pytorch/pytorch:2.4.1-cuda12.4-cudnn9-runtime
WORKDIR /code
RUN apt-get update && apt-get install -y \
build-essential \
ffmpeg \
libsndfile1 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]