kankanlemon commited on
Commit
269dafd
·
verified ·
1 Parent(s): 7fb58a7

Rename app.yml to Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +10 -0
  2. app.yml +0 -14
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ FROM deanxv/lmarena2api
3
+ WORKDIR /app/lmarena2api
4
+
5
+ RUN mkdir -p /app/data \
6
+ && chmod -R a+rwX /app/data
7
+
8
+ VOLUME /app/lmarena2api/data
9
+
10
+ EXPOSE 10088
app.yml DELETED
@@ -1,14 +0,0 @@
1
- # app.yml
2
- image: deanxv/lmarena2api
3
-
4
- env:
5
- LA_COOKIE: "${LA_COOKIE}"
6
- CF_CLEARANCE: "${CF_CLEARANCE}"
7
- API_SECRET: "${API_SECRET:-123456}"
8
- TZ: "Asia/Shanghai"
9
-
10
- ports:
11
- - 10088:10088
12
-
13
- volumes:
14
- - data:/app/lmarena2api/data