build error

build failed with exit code: 1, message: None

Build logs:

--> FROM
DONE 0.0s

--> RUN apt-get update && apt-get install -y git-lfs

--> WORKDIR /home/user/app

--> RUN pip install pip==22.0.2

--> RUN useradd -m -u 1000 user

--> WORKDIR /home/user

--> RUN pip install         datasets         huggingface-hub

--> COPY packages.txt /root/packages.txt

--> RUN apt-get update && apt-get install -y         ffmpeg         libsm6         libxext6         cmake         libgl1-mesa-glx

--> RUN apt-get update && xargs -r -a /root/packages.txt apt-get install -y

--> RUN mkdir app

--> RUN git lfs install

--> COPY requirements.txt /home/user/app/requirements.txt
DONE 4.2s

--> RUN pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes:,
Collecting diffusers==0.2.4
  Downloading diffusers-0.2.4-py3-none-any.whl (112 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.0/113.0 KB 14.5 MB/s eta 0:00:00
Collecting transformers
  Downloading transformers-4.23.1-py3-none-any.whl (5.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 40.4 MB/s eta 0:00:00
Collecting nvidia-ml-py3
  Downloading nvidia-ml-py3-7.352.0.tar.gz (19 kB)
  Preparing metadata ( started
  Preparing metadata ( finished with status 'done'
Collecting ftfy
  Downloading ftfy-6.1.1-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.1/53.1 KB 732.4 kB/s eta 0:00:00
Collecting importlib-metadata
  Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Requirement already satisfied: requests in /home/user/.local/lib/python3.8/site-packages (from diffusers==0.2.4->-r requirements.txt (line 1)) (2.28.1)
Collecting Pillow
  Downloading Pillow-9.2.0-cp38-cp38-manylinux_2_28_x86_64.whl (3.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 24.9 MB/s eta 0:00:00
Collecting torch>=1.4
  Downloading (1837.7 MB)
ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━         1.5/1.8 GB 149.7 MB/s eta 0:00:03
WARNING: You are using pip version 22.0.2; however, version 22.3 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.

--> ERROR: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1