Spaces:
Runtime error
Runtime error
Download Dockerfile from ACRoot/UptimeKuma: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/spaces/ACRoot/UptimeKuma/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ACRoot/UptimeKuma/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ACRoot/UptimeKuma/resolve/main/Dockerfile
238 Bytes
| FROM chipsman/uptime-kuma:latest | |
| # 安装 Node.js | |
| RUN apk update && \ | |
| apk add --no-cache nodejs npm | |
| # 设置目录权限 | |
| RUN mkdir -p /app/data && chown -R node:node /app | |
| USER node | |
| EXPOSE 3001 | |
| CMD ["node","server/server.js"] |