asv7j commited on
Commit
04b68af
1 Parent(s): 90397d7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -9,7 +9,8 @@ RUN pip install fastapi requests libretranslate uvicorn[standard]==0.17.*
9
  COPY . .
10
  COPY --chown=user . /app
11
  # Expose the port FastAPI will use
12
- EXPOSE 5000
 
13
 
14
  # Command to run the FastAPI app with uvicorn
15
- CMD ["uvicorn", "main:main", "--host", "127.0.0.1", "--port", "5000"]
 
9
  COPY . .
10
  COPY --chown=user . /app
11
  # Expose the port FastAPI will use
12
+ # Expose the port FastAPI will use
13
+ EXPOSE 8000
14
 
15
  # Command to run the FastAPI app with uvicorn
16
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]