-
-
Notifications
You must be signed in to change notification settings - Fork 527
Expand file tree
/
Copy pathDockerfile_cuda
More file actions
31 lines (21 loc) · 770 Bytes
/
Dockerfile_cuda
File metadata and controls
31 lines (21 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM docker.io/nvidia/cuda:12.8.1-cudnn-devel-ubuntu24.04
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
RUN apt update && apt install -y \
python3 \
python3-venv \
python3-pip \
git \
libgl1 \
libglib2.0-0 \
ffmpeg \
libportaudio2
RUN rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/IAHispano/Applio.git .
RUN python3 -m venv .venv
RUN .venv/bin/pip install --no-cache-dir --upgrade pip
RUN .venv/bin/pip install --no-cache-dir python-ffmpeg
RUN .venv/bin/pip install --no-cache-dir torch==2.7.1 torchvision torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128
RUN .venv/bin/pip install --no-cache-dir -r requirements.txt
EXPOSE 6969
CMD [".venv/bin/python", "app.py", "--server-name", "0.0.0.0"]