Spaces:
Build error
Build error
Upload Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@ FROM python:3.10-slim
|
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive \
|
| 4 |
PYTHONUNBUFFERED=1
|
| 5 |
|
| 6 |
-
# Install system dependencies
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
git \
|
| 9 |
wget \
|
|
@@ -27,5 +27,5 @@ RUN mkdir -p models/checkpoints models/vae models/controlnet && \
|
|
| 27 |
# Expose the port HF Spaces expects
|
| 28 |
EXPOSE 7860
|
| 29 |
|
| 30 |
-
# Run ComfyUI bound to all interfaces on port 7860
|
| 31 |
-
CMD ["python", "main.py", "--listen", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive \
|
| 4 |
PYTHONUNBUFFERED=1
|
| 5 |
|
| 6 |
+
# Install system dependencies
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
git \
|
| 9 |
wget \
|
|
|
|
| 27 |
# Expose the port HF Spaces expects
|
| 28 |
EXPOSE 7860
|
| 29 |
|
| 30 |
+
# Run ComfyUI in CPU mode bound to all interfaces on port 7860
|
| 31 |
+
CMD ["python", "main.py", "--listen", "0.0.0.0", "--port", "7860", "--cpu"]
|