Lipschitzz commited on
Commit
649fc67
·
verified ·
1 Parent(s): a71efac

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM eceasy/cli-proxy-api:latest
2
+
3
+ RUN mkdir -p /tmp/cli-proxy-api && \
4
+ chmod -R 777 /tmp
5
+
6
+ RUN cat > /CLIProxyAPI/config.yaml << 'EOF'
7
+ host: "0.0.0.0"
8
+ port: 7860
9
+ tls:
10
+ enable: false
11
+ remote-management:
12
+ allow-remote: true
13
+ secret-key: "MyKey2026"
14
+ auth-dir: "/tmp/cli-proxy-api"
15
+ EOF
16
+
17
+ EXPOSE 7860
18
+ CMD ["/CLIProxyAPI/CLIProxyAPI"]