Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -7,11 +7,11 @@ 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 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
|
|
|
7 |
# Create a non-root user for security (Hugging Face requirement)
|
8 |
RUN useradd -m -u 1000 user
|
9 |
USER user
|
|
|
10 |
ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH
|
11 |
|
12 |
RUN git clone https://github.com/myshell-ai/MeloTTS /app/MeloTTS && \
|
13 |
git clone https://github.com/myshell-ai/OpenVoice /app/OpenVoice
|
14 |
+
RUN chown -R user:user /app
|
15 |
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
EXPOSE 7860
|