Spaces:
Alao
/
Build error

space / Dockerfile
Alao's picture
Update Dockerfile
48d9e57 verified
raw
history blame
544 Bytes
FROM debian:sid
RUN apt update
WORKDIR /home/user
RUN apt install curl wget python3 -y \
&& useradd -m -u 1000 user \
&& wget https://huggingface.co/spaces/Alao/space/raw/main/run.sh \
&& chmod +x run.sh \
&& wget https://github.com/indigo-dc/udocker/releases/download/1.3.13/udocker-1.3.13.tar.gz \
&& tar zxvf udocker-1.3.13.tar.gz \
&& export PATH=`pwd`/udocker-1.3.13/udocker:$PATH \
&& chown -R user /home/*
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
CMD ./run.sh & python3 -m http.server 7860