exable324 commited on
Commit
3a55f46
·
verified ·
1 Parent(s): 63c2598

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-alpine
2
+
3
+ WORKDIR /app
4
+
5
+ # 克隆项目
6
+ RUN apk add --no-cache git && \
7
+ git clone https://github.com/xiao-cold/efilen-webdav.git . && \
8
+ npm install --production
9
+
10
+ EXPOSE 8888
11
+
12
+ CMD ["npm", "start"]