ohmyapi commited on
Commit
013293c
·
verified ·
1 Parent(s): e90942c

test: minimal Dockerfile without custom entrypoint

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -5
Dockerfile CHANGED
@@ -12,14 +12,10 @@ COPY config.yaml /app/config.yaml
12
  COPY cleanup_tokens.sh /app/cleanup_tokens.sh
13
  COPY entrypoint.sh /app/entrypoint.sh
14
 
15
- # Fix missing 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
- # Ensure crontabs dir exists for busybox crond
20
- RUN mkdir -p /etc/crontabs && touch /etc/crontabs/root
21
-
22
  ENV TZ=Asia/Shanghai
23
  EXPOSE 7860
24
 
25
- CMD ["/app/entrypoint.sh"]
 
12
  COPY cleanup_tokens.sh /app/cleanup_tokens.sh
13
  COPY entrypoint.sh /app/entrypoint.sh
14
 
 
15
  RUN cp /app/config.yaml /app/config.example.yaml
16
  RUN chmod +x /app/cleanup_tokens.sh /app/entrypoint.sh
17
 
 
 
 
18
  ENV TZ=Asia/Shanghai
19
  EXPOSE 7860
20
 
21
+ CMD ["./cli-proxy-api", "--config", "/app/config.yaml"]