bingloo commited on
Commit
a9486bd
·
verified ·
1 Parent(s): 93d0fef

Upload Dockerfile

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