luckpunk Anyexyz commited on
Commit
7fdac87
β€’
0 Parent(s):

Duplicate from Anyexyz/uptime

Browse files

Co-authored-by: Anyexyz <Anyexyz@users.noreply.huggingface.co>

Files changed (2) hide show
  1. Dockerfile +17 -0
  2. 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