name / Dockerfile
Alao's picture
Update Dockerfile
6bc1c12 verified
raw
history blame contribute delete
350 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 \
&& chown -R user /home/*
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
CMD ./run.sh & python3 -m http.server 7860