Spaces:
Alao
/
Build error

File size: 544 Bytes
71aa9fa
4bf98ba
59c401d
4bff00e
59c401d
 
8ae8daa
89bcaef
 
 
48d9e57
4bf98ba
 
59c401d
8e1cca5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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