Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
|
@@ -10,15 +10,17 @@ RUN apt update && \
|
|
| 10 |
# Set working directory
|
| 11 |
WORKDIR /app
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
# Copy application files
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
-
# Install Python dependencies
|
| 17 |
-
|
| 18 |
-
RUN uv pip install --system -r requirements.txt
|
| 19 |
|
| 20 |
# Expose the Gradio default port
|
| 21 |
EXPOSE 7860
|
| 22 |
|
| 23 |
# Run the Gradio app
|
| 24 |
-
CMD ["
|
|
|
|
| 10 |
# Set working directory
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
+
# Clone the repository
|
| 14 |
+
RUN git clone https://github.com/Zyphra/Zonos.git && cd Zonos
|
| 15 |
+
|
| 16 |
# Copy application files
|
| 17 |
COPY . .
|
| 18 |
|
| 19 |
+
# Install Python dependencies
|
| 20 |
+
RUN uv pip install --system -e . && uv pip install --system -e .[compile]
|
|
|
|
| 21 |
|
| 22 |
# Expose the Gradio default port
|
| 23 |
EXPOSE 7860
|
| 24 |
|
| 25 |
# Run the Gradio app
|
| 26 |
+
CMD ["python", "app.py"]
|