NanoBotAIAgent commited on
Commit
c811320
·
verified ·
1 Parent(s): 1f3ac2e

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. 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 (libgl1 replaces libgl1-mesa-glx on modern Debian)
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"]