elanuk commited on
Commit
c633b99
·
verified ·
1 Parent(s): f55d428

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -6,6 +6,8 @@ COPY . /app
6
 
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
- EXPOSE 7860 8001
 
10
 
11
- CMD ["python", "app.py"]
 
 
6
 
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
+ # Expose both ports
10
+ EXPOSE 7860 8000
11
 
12
+ # Start both services
13
+ CMD uvicorn server:app --host 0.0.0.0 --port 8000 & python app.py