Spaces:
Running
Running
File size: 581 Bytes
95ecdaf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
# Set up environment
ENV DEBIAN_FRONTEND=noninteractive \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
TZ=Etc/UTC
RUN apt-get update && apt-get install -y \
git python3 python3-pip python-is-python3 \
libgl1 libglib2.0-0 wget curl \
&& apt-get clean
WORKDIR /app
# Clone the repo (already in your space, so skip cloning)
COPY . .
# Install requirements
RUN pip install -r requirements.txt
# Launch the web UI
CMD ["python3", "launch.py", "--listen", "--port", "7860", "--enable-insecure-extension-access"]
|