feedlight42 commited on
Commit
c006108
·
1 Parent(s): 9cc9faa

change port to default exp by hf

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -20,8 +20,8 @@ RUN mkdir -p /app/huggingface_cache && chmod -R 777 /app/huggingface_cache
20
  # Step 5: Copy the rest of the application code
21
  COPY . /app/
22
 
23
- # Step 6: Expose the port that FastAPI will run on
24
- EXPOSE 8000
25
 
26
  # Step 7: Command to run the FastAPI app using Uvicorn
27
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
20
  # Step 5: Copy the rest of the application code
21
  COPY . /app/
22
 
23
+ # # Step 6: Expose the port that FastAPI will run on
24
+ # EXPOSE 8000
25
 
26
  # Step 7: Command to run the FastAPI app using Uvicorn
27
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]