ohmyapi commited on
Commit
4ea9520
·
verified ·
1 Parent(s): 492f303

test: revert to exact 03e51a9 Dockerfile to isolate DB issue

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -5
Dockerfile CHANGED
@@ -9,14 +9,10 @@ RUN cp /CLIProxyAPI/CLIProxyAPI ./cli-proxy-api && chmod +x ./cli-proxy-api
9
  RUN mkdir -p /tmp/.cli-proxy-api /tmp/logs /tmp/pg_cache/pgstore && chmod -R 777 /tmp
10
 
11
  COPY config.yaml /app/config.yaml
12
- COPY cleanup_tokens.sh /app/cleanup_tokens.sh
13
- COPY entrypoint.sh /app/entrypoint.sh
14
-
15
  # 修复 config.example.yaml 缺失
16
  RUN cp /app/config.yaml /app/config.example.yaml
17
- RUN chmod +x /app/cleanup_tokens.sh /app/entrypoint.sh
18
 
19
  ENV TZ=Asia/Shanghai
20
  EXPOSE 7860
21
 
22
- CMD ["/app/entrypoint.sh"]
 
9
  RUN mkdir -p /tmp/.cli-proxy-api /tmp/logs /tmp/pg_cache/pgstore && chmod -R 777 /tmp
10
 
11
  COPY config.yaml /app/config.yaml
 
 
 
12
  # 修复 config.example.yaml 缺失
13
  RUN cp /app/config.yaml /app/config.example.yaml
 
14
 
15
  ENV TZ=Asia/Shanghai
16
  EXPOSE 7860
17
 
18
+ CMD ["./cli-proxy-api", "--config", "/app/config.yaml"]