Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
-
FROM debian:
|
| 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 |
|