Update Dockerfile.
This commit is contained in:
parent
28e0e7b9d4
commit
aa73bdbdc3
@ -1,13 +1,14 @@
|
||||
FROM python:3.11.3-slim-bullseye
|
||||
COPY ./requirements.txt /
|
||||
RUN apt update \
|
||||
&& apt install -y wget git libgl1-mesa-glx libglib2.0-0 \
|
||||
&& apt autoremove -y \
|
||||
&& apt clean -y \
|
||||
&& pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu117 \
|
||||
RUN apt-get update \
|
||||
&& apt-get libgl1-mesa-glx libglib2.0-0 --no-install-recommends -y \
|
||||
&& apt-get autoremove -y \
|
||||
&& apt-get clean -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu117 --no-cache-dir \
|
||||
&& mkdir -p /vol/cache/esrgan \
|
||||
&& wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P /vol/cache/esrgan \
|
||||
&& wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.1/RealESRNet_x4plus.pth -P /vol/cache/esrgan \
|
||||
&& wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth -P /vol/cache/esrgan \
|
||||
&& wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth -P /vol/cache/esrgan \
|
||||
&& wget https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth -P /vol/cache/esrgan
|
||||
&& wget --progress=dot:giga https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P /vol/cache/esrgan \
|
||||
&& wget --progress=dot:giga https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.1/RealESRNet_x4plus.pth -P /vol/cache/esrgan \
|
||||
&& wget --progress=dot:giga https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth -P /vol/cache/esrgan \
|
||||
&& wget --progress=dot:giga https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth -P /vol/cache/esrgan \
|
||||
&& wget --progress=dot:giga https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth -P /vol/cache/esrgan
|
||||
|
||||
@ -19,3 +19,9 @@ tqdm
|
||||
|
||||
controlnet_aux
|
||||
pyyaml
|
||||
|
||||
# Use the below in 'download_from_original_stable_diffusion_ckpt'.
|
||||
omegaconf==2.3.0
|
||||
|
||||
# Another tools
|
||||
wget==3.2
|
||||
Loading…
x
Reference in New Issue
Block a user