Spaces:
Runtime error
Runtime error
Download Dockerfile from shrinftdev/iCommon: direct link, hf CLI and curl.
- Browser
- Download file 998 Bytes
-
https://huggingface.co/spaces/shrinftdev/iCommon/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/shrinftdev/iCommon/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/shrinftdev/iCommon/resolve/main/Dockerfile
998 Bytes
| FROM debian:13 | |
| # 安装必要依赖 | |
| RUN apt-get update && apt-get install -y \ | |
| ca-certificates curl wget iproute2 screen tzdata python3 procps \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # 复制所有需要的脚本和辅助文件 | |
| COPY entrypoint.sh install.sh journalctl3.py systemctl3.py docker.service /app/ | |
| # 复制 FRP 客户端及其配置文件 | |
| COPY frpc frpc.ini /app/ | |
| # 设置执行权限 | |
| RUN chmod +x /app/entrypoint.sh /app/install.sh /app/journalctl3.py /app/systemctl3.py /app/frpc | |
| # ---------- 数据持久化配置 ---------- | |
| # 指定所有 1Panel 数据存储目录 | |
| ENV PANEL_BASE_DIR=/workspace | |
| # 面板端口(默认 8888) | |
| ENV PANEL_PORT=9999 | |
| # 其他必要环境变量提供默认值(建议用户在运行时按需覆盖) | |
| ENV PANEL_USERNAME=admin | |
| ENV PANEL_PASSWORD=admin123 | |
| ENV PANEL_ENTRANCE=/entrance | |
| ENV LANGUAGE=zh | |
| # ----------------------------------- | |
| # 声明持久化卷 | |
| # 暴露面板端口(供 FRP 映射) | |
| # 容器入口 | |
| ENTRYPOINT ["/app/entrypoint.sh"] | |