kevin commited on
Commit
d30fd97
·
1 Parent(s): 79ddf5e

uptime-kuma

Browse files
Files changed (3) hide show
  1. .gitignore +1 -0
  2. Dockerfile +15 -0
  3. README.md +1 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .idea
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ EXPOSE 3001
15
+ CMD ["node", "server/server.js"]
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: pink
5
  colorTo: gray
6
  sdk: docker
7
  pinned: false
 
8
  ---
9
 
10
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
5
  colorTo: gray
6
  sdk: docker
7
  pinned: false
8
+ app_port: 3001
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference