asemxin commited on
Commit
c4b264a
·
1 Parent(s): 8320443

Fix: correct management panel path to /CLIProxyAPI/static/

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -20,9 +20,9 @@ FROM alpine:3.22.0
20
 
21
  RUN apk add --no-cache tzdata curl
22
 
23
- # Download management panel
24
- RUN mkdir -p /CLIProxyAPI/panel && \
25
- curl -L -o /CLIProxyAPI/panel/management.html \
26
  "https://github.com/router-for-me/Cli-Proxy-API-Management-Center/releases/download/v1.2.6/management.html"
27
 
28
  # Create non-root user for HF Spaces
 
20
 
21
  RUN apk add --no-cache tzdata curl
22
 
23
+ # Download management panel to static directory (must be {config_dir}/static/)
24
+ RUN mkdir -p /CLIProxyAPI/static && \
25
+ curl -L -o /CLIProxyAPI/static/management.html \
26
  "https://github.com/router-for-me/Cli-Proxy-API-Management-Center/releases/download/v1.2.6/management.html"
27
 
28
  # Create non-root user for HF Spaces