Spaces:
Build error
Build error
FROM ubuntu:22.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV COMMANDLINE_ARGS='--skip-torch-cuda-test --use-cpu=all --no-half' | |
RUN apt-get update -y && apt-get upgrade -y | |
RUN apt install -y wget git python3 python3-venv ffmpeg libsm6 libxext6 | |
RUN adduser --disabled-password --gecos '' user | |
RUN mkdir /content && chown -R user:user /content | |
WORKDIR /content | |
USER user | |
ADD --chown=user https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh webui.sh | |
RUN bash webui.sh |