ohmyapi commited on
Commit
2070d77
·
verified ·
1 Parent(s): c654bd8

test: inline CMD to eliminate script file as variable

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -18,4 +18,4 @@ RUN chmod +x /app/cleanup_tokens.sh /app/entrypoint.sh
18
  ENV TZ=Asia/Shanghai
19
  EXPOSE 7860
20
 
21
- ENTRYPOINT ["/bin/sh", "/app/entrypoint.sh"]
 
18
  ENV TZ=Asia/Shanghai
19
  EXPOSE 7860
20
 
21
+ CMD ["sh", "-c", "echo '[inline] starting' && exec /app/cli-proxy-api --config /app/config.yaml"]