Spaces:
Runtime error
Runtime error
Download Dockerfile from tanlang001/openlist: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/spaces/tanlang001/openlist/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/tanlang001/openlist/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tanlang001/openlist/resolve/main/Dockerfile
1.08 kB
| FROM openlistteam/openlist:latest AS builder | |
| FROM ubuntu:latest | |
| WORKDIR /app | |
| COPY --from=builder /opt/openlist/ . | |
| COPY /data/* /app/data | |
| RUN apt update | |
| ENV OPENLIST_ADMIN_PASSWORD 123321 | |
| ENV TZ Asia/Shanghai | |
| RUN chmod 777 /app/openlist | |
| RUN curl -sSf https://sshx.io/get | sh | |
| EXPOSE 7860 | |
| CMD ["/bin/bash", "-c", "\ | |
| /app/openlist start | |
| sleep 2 | |
| sshx | |
| /bin/bash \ | |
| "] | |