Advertisement
kopyl

Untitled

Jul 18th, 2023
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
  2.  
  3. RUN apt update && apt install -y python3 wget python-is-python3
  4. RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
  5.  
  6. ENV PYTHONUNBUFFERED=1
  7.  
  8. COPY venv /venv
  9. ENV PATH="/venv/bin:$PATH"
  10.  
  11. RUN \
  12. apt update && \
  13. apt install --no-install-recommends -y \
  14. libglib2.0-0 libglu1-mesa-dev google-perftools
  15.  
  16. COPY stable-diffusion-webui /stable-diffusion-webui
  17.  
  18. WORKDIR /stable-diffusion-webui
  19.  
  20. CMD ["sleep", "infinity"]
  21.  
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement