Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -32
Dockerfile
CHANGED
|
@@ -1,32 +1 @@
|
|
| 1 |
-
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|