Spaces:
Running
Running
asemxin
commited on
Commit
·
c4b264a
1
Parent(s):
8320443
Fix: correct management panel path to /CLIProxyAPI/static/
Browse files- 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/
|
| 25 |
-
curl -L -o /CLIProxyAPI/
|
| 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
|