Skip to content

Commit 5fa5682

Browse files
authored
Create Dockerfile
1 parent 18f526d commit 5fa5682

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
FROM pytorch/pytorch:2.4.0-cuda12.4-cudnn9-devel
2+
3+
USER root
4+
5+
ARG DEBIAN_FRONTEND=noninteractive
6+
7+
LABEL github_repo="https://github.com/SWivid/F5-TTS"
8+
9+
RUN set -x \
10+
&& apt-get update \
11+
&& apt-get -y install wget curl man git less openssl libssl-dev unzip unar build-essential aria2 tmux vim \
12+
&& apt-get install -y openssh-server sox libsox-fmt-all libsox-fmt-mp3 libsndfile1-dev ffmpeg \
13+
&& rm -rf /var/lib/apt/lists/* \
14+
&& apt-get clean
15+
16+
WORKDIR /workspace
17+
18+
RUN git clone https://github.com/SWivid/F5-TTS.git \
19+
&& cd F5-TTS \
20+
&& pip install --no-cache-dir -r requirements.txt \
21+
&& pip install --no-cache-dir -r requirements_eval.txt
22+
23+
ENV SHELL=/bin/bash
24+
25+
WORKDIR /workspace/F5-TTS

0 commit comments

Comments
 (0)