Inspecta commited on
Commit
af17032
·
verified ·
1 Parent(s): ba47b3d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -1,24 +1,26 @@
1
  FROM python:3.10-slim
 
2
  WORKDIR /app
3
 
4
  RUN apt-get update && \
5
  apt-get install -y git wget && \
6
  rm -rf /var/lib/apt/lists/*
7
 
8
- # 1. clone ComfyUI (force into /app/ComfyUI)
9
  RUN git clone https://github.com/comfyanonymous/ComfyUI.git
10
 
11
- # 2. Python deps
12
  COPY requirements.txt .
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
15
- # 3. model download
16
  COPY download_models.py .
17
  RUN python download_models.py
18
 
19
- # 4. copy our wrappers
20
  COPY app.py .
21
  COPY workflow_api.json .
22
 
23
  EXPOSE 7860
 
24
  CMD ["python", "app.py"]
 
1
  FROM python:3.10-slim
2
+
3
  WORKDIR /app
4
 
5
  RUN apt-get update && \
6
  apt-get install -y git wget && \
7
  rm -rf /var/lib/apt/lists/*
8
 
9
+ # Clone dans /app/ComfyUI
10
  RUN git clone https://github.com/comfyanonymous/ComfyUI.git
11
 
12
+ # Python deps
13
  COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
16
+ # Download de modèles
17
  COPY download_models.py .
18
  RUN python download_models.py
19
 
20
+ # Copie de nos fichiers custom
21
  COPY app.py .
22
  COPY workflow_api.json .
23
 
24
  EXPOSE 7860
25
+
26
  CMD ["python", "app.py"]