Remove unnecesary chmod from Dockerfile to avoid bloating

This commit is contained in:
Armando C. Santisbon 2022-09-11 02:04:11 -05:00
parent eeff8e9033
commit e21938c12d

View File

@ -18,7 +18,7 @@ RUN apt update && apt upgrade -y \
python3 \
wget \
# install Anaconda or Miniconda
&& chmod +x anaconda.sh && bash anaconda.sh -b -u -p /anaconda && /anaconda/bin/conda init bash && source ~/.bashrc \
&& bash anaconda.sh -b -u -p /anaconda && /anaconda/bin/conda init bash && source ~/.bashrc \
&& git clone $GITHUB_STABLE_DIFFUSION && cd stable-diffusion \
# When path exists, pip3 will (w)ipe.
&& PIP_EXISTS_ACTION="w" \