mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-12-06 07:12:11 +01:00
Update Dockerfile
This commit is contained in:
parent
fe62a0ff0b
commit
a740f9da6d
|
|
@ -80,8 +80,10 @@ RUN pip install --upgrade typing-extensions
|
|||
|
||||
|
||||
RUN if [ -d "/opt/conda/lib/python3.10" ]; then \
|
||||
echo Python 3.10 detected; \
|
||||
sed -i 's/in_app_dir = .*/in_app_dir = True/g' /opt/conda/lib/python3.10/site-packages/gradio/routes.py ;\
|
||||
elif [ -d "/opt/conda/lib/python3.11" ]; then \
|
||||
echo Python 3.11 detected; \
|
||||
sed -i 's/in_app_dir = .*/in_app_dir = True/g' /opt/conda/lib/python3.11/site-packages/gradio/routes.py ;\
|
||||
fi && \
|
||||
# mv ${ROOT}/style.css ${ROOT}/user.css && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue