Zwea Htet commited on
Commit
4a00bee
1 Parent(s): dfb15e1

updated Dockerfile and readme.md

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. README.md +1 -0
Dockerfile CHANGED
@@ -26,5 +26,5 @@ WORKDIR $HOME/app
26
  # Set the working directory to the user's home directory
27
  COPY --chown=user . $HOME/app
28
 
29
- CMD [ "gunicorn" , "app:app", "--host", "0.0.0.0", "--port", "7860"]
30
  # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
26
  # Set the working directory to the user's home directory
27
  COPY --chown=user . $HOME/app
28
 
29
+ CMD [ "gunicorn" , "app:app"]
30
  # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
README.md CHANGED
@@ -7,6 +7,7 @@ colorTo: red
7
  # sdk_version: 1.24.0 not supported on huggingface spaces
8
  sdk: docker # for local testing, you can comment this, and uncomment the streamlit
9
  app_file: app.py
 
10
  pinned: false
11
  ---
12
 
 
7
  # sdk_version: 1.24.0 not supported on huggingface spaces
8
  sdk: docker # for local testing, you can comment this, and uncomment the streamlit
9
  app_file: app.py
10
+ app_port: 7860
11
  pinned: false
12
  ---
13