treyhuffine commited on
Commit
8428f18
·
1 Parent(s): 148d304

Update app port

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. README.md +1 -0
Dockerfile CHANGED
@@ -1,4 +1,5 @@
1
  FROM savatar101/omniparse:0.1
 
2
  RUN chmod 777 /app
3
  RUN mkdir /.cache
4
  RUN chmod 777 /.cache
 
1
  FROM savatar101/omniparse:0.1
2
+ RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true
3
  RUN chmod 777 /app
4
  RUN mkdir /.cache
5
  RUN chmod 777 /.cache
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: indigo
5
  colorTo: gray
6
  sdk: docker
7
  pinned: false
 
8
  ---
9
 
10
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
5
  colorTo: gray
6
  sdk: docker
7
  pinned: false
8
+ app_port: 8000
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference