Update Dockerfile
Browse files- Dockerfile +9 -4
Dockerfile
CHANGED
@@ -1,10 +1,15 @@
|
|
1 |
-
FROM
|
|
|
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 |
-
|
9 |
-
|
10 |
-
|
|
|
|
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
|