carloscar commited on
Commit
3cf4ae9
1 Parent(s): d5868ac

Use venv pip

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -77,8 +77,8 @@ RUN poetry install
77
  # Install xformers for the specified GPU
78
  ARG GPU
79
  RUN case "$GPU" in \
80
- [aA]10[gG]) pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230119.A10G-cp310-cp310-linux_x86_64.whl;; \
81
- [tT]4) pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230118-cp310-cp310-linux_x86_64.whl;; \
82
  *) echo "invalid GPU setting"; exit 1;; \
83
  esac
84
 
 
77
  # Install xformers for the specified GPU
78
  ARG GPU
79
  RUN case "$GPU" in \
80
+ [aA]10[gG]) /opt/venv/bin/pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230119.A10G-cp310-cp310-linux_x86_64.whl;; \
81
+ [tT]4) /opt/venv/bin/pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230118-cp310-cp310-linux_x86_64.whl;; \
82
  *) echo "invalid GPU setting"; exit 1;; \
83
  esac
84