Alleinzellgaenger commited on
Commit
aad70c5
·
1 Parent(s): 3fff889

Adapt docker file and readme

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. README.md +1 -0
Dockerfile CHANGED
@@ -22,7 +22,7 @@ RUN pip install --upgrade pip && pip install -r /app/backend/requirements.txt
22
  COPY . /app
23
 
24
  # Expose port 8000 (the port our app will run on)
25
- EXPOSE 8000
26
 
27
  # Run the FastAPI app using Uvicorn
28
- CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "8000"]
 
22
  COPY . /app
23
 
24
  # Expose port 8000 (the port our app will run on)
25
+ EXPOSE 7680
26
 
27
  # Run the FastAPI app using Uvicorn
28
+ CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "7680"]
README.md CHANGED
@@ -6,6 +6,7 @@ colorTo: pink
6
  sdk: docker
7
  sdk_version: "1.0"
8
  app_file: backend/app.py
 
9
  pinned: false
10
  license: apache-2.0
11
  short_description: A cutting edge attention visualization app.
 
6
  sdk: docker
7
  sdk_version: "1.0"
8
  app_file: backend/app.py
9
+ app_port: 7860
10
  pinned: false
11
  license: apache-2.0
12
  short_description: A cutting edge attention visualization app.