Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +8 -4
Dockerfile
CHANGED
|
@@ -68,10 +68,14 @@ RUN mkdir -p /ComfyUI/custom_nodes/ComfyUI-Manager/.cache && \
|
|
| 68 |
# Create a Python virtual environment
|
| 69 |
RUN python3 -m venv /venv
|
| 70 |
|
| 71 |
-
#
|
| 72 |
-
RUN /venv/bin/pip install --upgrade pip
|
| 73 |
-
|
| 74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
# Set environment variable for the Python virtual environment
|
| 77 |
ENV PATH="/venv/bin:$PATH"
|
|
|
|
| 68 |
# Create a Python virtual environment
|
| 69 |
RUN python3 -m venv /venv
|
| 70 |
|
| 71 |
+
# Upgrade pip
|
| 72 |
+
RUN /venv/bin/pip install --upgrade pip
|
| 73 |
+
|
| 74 |
+
# Install Python dependencies from requirements.txt
|
| 75 |
+
RUN /venv/bin/pip install -r /ComfyUI/requirements.txt || { echo 'Requirements installation failed'; exit 1; }
|
| 76 |
+
|
| 77 |
+
# Install non-essential dependencies
|
| 78 |
+
RUN /venv/bin/pip install kornia>=0.7.1 spandrel soundfile || { echo 'Non-essential dependencies installation failed'; exit 1; }
|
| 79 |
|
| 80 |
# Set environment variable for the Python virtual environment
|
| 81 |
ENV PATH="/venv/bin:$PATH"
|