Duplicate from Anyexyz/uptime
Browse filesCo-authored-by: Anyexyz <[email protected]>
- Dockerfile +17 -0
- README.md +13 -0
Dockerfile
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM alpine AS builder
|
2 |
+
RUN apk add --no-cache nodejs npm git
|
3 |
+
|
4 |
+
RUN npm install npm -g
|
5 |
+
|
6 |
+
RUN adduser -D app
|
7 |
+
USER app
|
8 |
+
WORKDIR /home/app
|
9 |
+
|
10 |
+
RUN git clone https://github.com/louislam/uptime-kuma.git
|
11 |
+
WORKDIR /home/app/uptime-kuma
|
12 |
+
RUN npm run setup
|
13 |
+
|
14 |
+
VOLUME [".data"]
|
15 |
+
|
16 |
+
EXPOSE 3001
|
17 |
+
CMD ["node", "server/server.js"]
|
README.md
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Uptime
|
3 |
+
emoji: π
|
4 |
+
colorFrom: pink
|
5 |
+
colorTo: gray
|
6 |
+
sdk: docker
|
7 |
+
pinned: false
|
8 |
+
license: mit
|
9 |
+
app_port: 3001
|
10 |
+
duplicated_from: Anyexyz/uptime
|
11 |
+
---
|
12 |
+
|
13 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|