claude-mat commited on
Commit
d7b26e9
·
verified ·
1 Parent(s): 690d239

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -32
Dockerfile CHANGED
@@ -1,32 +1 @@
1
- # Use the official Python image
2
- FROM python:3.10-slim
3
-
4
- # Set the working directory in the container
5
- WORKDIR /app
6
-
7
- # Copy the requirements file first to leverage Docker cache
8
- COPY requirements.txt .
9
-
10
- # Install system dependencies required by the application
11
- RUN apt-get update && apt-get install -y --no-install-recommends \
12
- git \
13
- git-lfs \
14
- ffmpeg \
15
- libsm6 \
16
- libxext6 \
17
- && rm -rf /var/lib/apt/lists/* \
18
- && git lfs install
19
-
20
- # Install the python dependencies
21
- RUN pip install --no-cache-dir -r requirements.txt
22
-
23
- # Copy the rest of the application code
24
- COPY . .
25
-
26
- # Expose the port the app runs on
27
- EXPOSE 7860
28
-
29
- # Command to run the application
30
- CMD ["python", "webui.py", "--host", "0.0.0.0", "--port", "7860"]
31
-
32
-
 
1
+ FROM ghcr.io/fuwei99/comfyui2webui:latest