winstxnhdw commited on
Commit
8d019b3
·
1 Parent(s): 52666c5

build: expose `SERVER_PORT`

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. README.md +1 -1
Dockerfile CHANGED
@@ -4,4 +4,4 @@ ENV SERVER_PORT=7860
4
  ENV OMP_NUM_THREADS=2
5
  ENV CT2_FORCE_CPU_ISA=AVX512
6
 
7
- EXPOSE $APP_PORT
 
4
  ENV OMP_NUM_THREADS=2
5
  ENV CT2_FORCE_CPU_ISA=AVX512
6
 
7
+ EXPOSE $SERVER_PORT
README.md CHANGED
@@ -12,7 +12,7 @@ tags:
12
  - automatic-speech-recognition
13
  - ctranslate2
14
  pinned: true
15
- base_path: /api/schema/swagger
16
  ---
17
 
18
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
12
  - automatic-speech-recognition
13
  - ctranslate2
14
  pinned: true
15
+ base_path: /schema/swagger
16
  ---
17
 
18
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference