Spaces:
Paused
Paused
Download Dockerfile from Vinbor/uptime: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/spaces/Vinbor/uptime/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Vinbor/uptime/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Vinbor/uptime/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"] |