sarkyboy commited on
Commit
268c34d
·
1 Parent(s): 3af1a4c

Update app port to 8317 in all configs

Browse files
Files changed (3) hide show
  1. Dockerfile +3 -3
  2. README.md +1 -0
  3. config.yaml +1 -1
Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
  FROM eceasy/cli-proxy-api:latest
2
 
3
- # Hugging Face Spaces requires port 7860
4
- ENV PORT=7860
5
- EXPOSE 7860
6
 
7
  COPY config.yaml /CLIProxyAPI/config.yaml
8
  COPY gemini/oauth_creds.json /CLIProxyAPI/auth/gemini.json
 
1
  FROM eceasy/cli-proxy-api:latest
2
 
3
+ # Hugging Face Spaces requires port 7860 (or configured port)
4
+ ENV PORT=8317
5
+ EXPOSE 8317
6
 
7
  COPY config.yaml /CLIProxyAPI/config.yaml
8
  COPY gemini/oauth_creds.json /CLIProxyAPI/auth/gemini.json
README.md CHANGED
@@ -6,6 +6,7 @@ colorTo: blue
6
  sdk: docker
7
  pinned: false
8
  license: mit
 
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
+ app_port: 8317
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
config.yaml CHANGED
@@ -1,5 +1,5 @@
1
  # Server port
2
- port: 7860
3
 
4
  # Authentication directory
5
  auth-dir: "/CLIProxyAPI/auth"
 
1
  # Server port
2
+ port: 8317
3
 
4
  # Authentication directory
5
  auth-dir: "/CLIProxyAPI/auth"