Download Dockerfile from defendex/openlist: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/defendex/openlist/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/defendex/openlist/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/defendex/openlist/resolve/main/Dockerfile
309 Bytes
| FROM openlistteam/openlist:beta-aio | |
| WORKDIR /opt/openlist | |
| USER root | |
| RUN mkdir -p /opt/openlist/data | |
| # 复制启动脚本并赋予执行权限 | |
| COPY entrypoint.sh /opt/openlist/ | |
| RUN chmod +x /opt/openlist/entrypoint.sh | |
| EXPOSE 7860 | |
| # 用启动脚本作为入口点 | |
| ENTRYPOINT ["/opt/openlist/entrypoint.sh"] |