Spaces:
Sleeping
Sleeping
Download Dockerfile from Code-U/serviceshare-uptime: direct link, hf CLI and curl.
- Browser
- Download file 284 Bytes
-
https://huggingface.co/spaces/Code-U/serviceshare-uptime/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Code-U/serviceshare-uptime/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Code-U/serviceshare-uptime/resolve/main/Dockerfile
284 Bytes
| FROM alpine AS builder | |
| RUN apk add --no-cache nodejs npm git | |
| RUN npm install npm -g | |
| RUN adduser -D app | |
| USER app | |
| WORKDIR /home/app | |
| RUN git clone https://github.com/louislam/uptime-kuma.git | |
| WORKDIR /home/app/uptime-kuma | |
| RUN npm run setup | |
| EXPOSE 3001 | |
| CMD ["node", "server/server.js"] |