magicboris commited on
Commit
206f819
·
verified ·
1 Parent(s): b2697c2

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM alpine AS builder
2
+ RUN apk add --no-cache nodejs npm git
3
+ RUN npm install npm -g
4
+ RUN adduser -D app
5
+ USER app
6
+ WORKDIR /home/app
7
+ RUN git clone https://github.com/louislam/uptime-kuma.git
8
+ WORKDIR /home/app/uptime-kuma
9
+ RUN npm run setup
10
+ EXPOSE 3001
11
+ CMD ["node", "server/server.js"]