Spaces:
Alao
/
Build error

Alao commited on
Commit
8ae8daa
·
verified ·
1 Parent(s): 8e1cca5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,10 +1,11 @@
1
- FROM debian:10
2
  RUN apt update
3
  WORKDIR /home/user
4
  RUN apt install curl wget python3 -y \
5
  && useradd -m -u 1000 user \
6
  && wget https://huggingface.co/spaces/Alao/space/raw/main/run.sh \
7
- && chmod +x run.sh
 
8
  ENV HOME=/home/user \
9
  PATH=/home/user/.local/bin:$PATH
10
 
 
1
+ FROM debian:test
2
  RUN apt update
3
  WORKDIR /home/user
4
  RUN apt install curl wget python3 -y \
5
  && useradd -m -u 1000 user \
6
  && wget https://huggingface.co/spaces/Alao/space/raw/main/run.sh \
7
+ && chmod +x run.sh \
8
+ && chown -R runoob:runoobgroup /home/*
9
  ENV HOME=/home/user \
10
  PATH=/home/user/.local/bin:$PATH
11