bingloo commited on
Commit
161e7d9
1 Parent(s): 3cb4c75

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -11
Dockerfile CHANGED
@@ -1,11 +1,13 @@
1
- FROM node:lts-alpine
2
-
3
- WORKDIR /app
4
-
5
- RUN npm install @filen/webdav@latest
6
-
7
- COPY . .
8
-
9
- EXPOSE 1900
10
-
11
- CMD ["node", "start.mjs"]
 
 
 
1
+ FROM node:lts-alpine
2
+
3
+ WORKDIR /app
4
+
5
+ COPY . .
6
+
7
+ ENV PORT=1900
8
+
9
+ RUN npm install @filen/webdav@latest
10
+
11
+ EXPOSE $PORT
12
+
13
+ ENTRYPOINT ["node", "start.mjs"]