lengyue233 commited on
Commit
571e007
1 Parent(s): 0facd1e

update docker

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -1
Dockerfile CHANGED
@@ -1,6 +1,19 @@
1
- FROM lengyue233/fish-diffusion:latest
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  WORKDIR /root/fish-diffusion
 
 
4
  COPY checkpoint.ckpt checkpoints/checkpoint.ckpt
5
  COPY exp_hifisinger.py configs/exp_hifisinger.py
6
 
 
1
+ FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 AS fish-diffusion
2
+
3
+ # Install Poetry
4
+ RUN apt-get update && apt-get install -y git curl python3 python3-pip build-essential ffmpeg libsm6 libxext6
5
+ RUN curl -sSL https://install.python-poetry.org | python3 -
6
+ ENV PATH="/root/.local/bin:${PATH}"
7
+ RUN poetry config virtualenvs.create false
8
+
9
+ # Install dependencies
10
+ WORKDIR /root
11
+
12
+ RUN git clone https://github.com/fishaudio/fish-diffusion.git --depth 1
13
 
14
  WORKDIR /root/fish-diffusion
15
+ RUN poetry install
16
+
17
  COPY checkpoint.ckpt checkpoints/checkpoint.ckpt
18
  COPY exp_hifisinger.py configs/exp_hifisinger.py
19