Biocoder09 commited on
Commit
ca50040
·
verified ·
1 Parent(s): 99d8d7a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -7,6 +7,7 @@ RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY . .
9
 
10
- ENV PORT=8080
 
11
 
12
- CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port $PORT"]
 
7
 
8
  COPY . .
9
 
10
+ ENV PORT=7860
11
+ EXPOSE 7860
12
 
13
+ CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port 7860"]