bingloo commited on
Commit
a1a7663
·
verified ·
1 Parent(s): 4bc1e00

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:lts-alpine
2
+
3
+ ENV TZ=Asia/Shanghai
4
+ ENV PORT=3000
5
+
6
+ WORKDIR /app
7
+
8
+ RUN apk update && apk add --no-cache git
9
+
10
+ RUN git clone https://github.com/bingloo/c2api.git .
11
+
12
+ RUN npm i
13
+
14
+ EXPOSE 3000
15
+
16
+ CMD ["node", "src/index.js"]