Download Dockerfile from Selinore/error: direct link, hf CLI and curl.
- Browser
- Download file 621 Bytes
-
https://huggingface.co/spaces/Selinore/error/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Selinore/error/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Selinore/error/resolve/main/Dockerfile
621 Bytes
| FROM ghcr.io/ovedick2026/errnote:latest | |
| # FROM ghcr.io/wttwins/wrong-notebook:latest | |
| # USER root | |
| # ENV PORT=7860 | |
| # ENV HOSTNAME="0.0.0.0" | |
| # # 核心修复:修补 bcryptjs 缺失的入口文件,让 seed-admin 能够正常运行 | |
| # RUN mkdir -p /app/node_modules/bcryptjs/umd && \ | |
| # (cp /app/node_modules/bcryptjs/index.js /app/node_modules/bcryptjs/umd/index.js 2>/dev/null || \ | |
| # cp /app/node_modules/bcryptjs/dist/bcrypt.js /app/node_modules/bcryptjs/umd/index.js 2>/dev/null || \ | |
| # echo "module.exports = require('../index.js');" > /app/node_modules/bcryptjs/umd/index.js) | |
| # EXPOSE 7860 |