wolfofbackstreet commited on
Commit
80623ec
·
verified ·
1 Parent(s): 684f39e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -7,9 +7,12 @@ COPY . .
7
  # Create a non-root user for security (Hugging Face requirement)
8
  RUN useradd -m -u 1000 user
9
  USER user
10
- RUN chown -R 777 user:user /app
11
  ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH
12
 
 
 
 
13
  RUN pip install --no-cache-dir -r requirements.txt
14
  EXPOSE 7860
15
  ENV GRADIO_SERVER_NAME="0.0.0.0"
 
7
  # Create a non-root user for security (Hugging Face requirement)
8
  RUN useradd -m -u 1000 user
9
  USER user
10
+ RUN chown -R user:user /app
11
  ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH
12
 
13
+ RUN git clone https://github.com/myshell-ai/MeloTTS /app/MeloTTS && \
14
+ git clone https://github.com/myshell-ai/OpenVoice /app/OpenVoice
15
+
16
  RUN pip install --no-cache-dir -r requirements.txt
17
  EXPOSE 7860
18
  ENV GRADIO_SERVER_NAME="0.0.0.0"