rao223 commited on
Commit
74b01b4
1 Parent(s): 2eb2b89

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -4
Dockerfile CHANGED
@@ -1,10 +1,15 @@
1
- FROM calciumion/neko-api:main
 
2
  EXPOSE 3000
3
  ENV PORT 3000
 
 
 
4
  ENV BATCH_UPDATE_ENABLED=true
5
  ENV BATCH_UPDATE_INTERVAL=120
6
  ENV GLOBAL_WEB_RATE_LIMIT=600
7
  ENV GLOBAL_API_RATE_LIMIT=1800
8
- WORKDIR /data
9
- RUN mkdir /data/logs && chmod 777 /data/logs
10
- ENTRYPOINT ["/one-api"]
 
 
1
+ FROM justsong/one-api
2
+
3
  EXPOSE 3000
4
  ENV PORT 3000
5
+ # ENV MEMORY_CACHE_ENABLED=true
6
+ # ENV SYNC_FREQUENCY=120
7
+ ENV THEME=berry
8
  ENV BATCH_UPDATE_ENABLED=true
9
  ENV BATCH_UPDATE_INTERVAL=120
10
  ENV GLOBAL_WEB_RATE_LIMIT=600
11
  ENV GLOBAL_API_RATE_LIMIT=1800
12
+ # ENV CHANNEL_UPDATE_FREQUENCY=1440
13
+ # ENV CHANNEL_TEST_FREQUENCY=1440
14
+ # ENV POLLING_INTERVAL=5
15
+ WORKDIR /data