rasmodev commited on
Commit
30bed66
1 Parent(s): 4e1f8b6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use the official Python image as a parent image
2
- FROM python:3.11.3-slim
3
 
4
  # Set the working directory within the container
5
  WORKDIR /app
@@ -17,4 +17,4 @@ COPY . .
17
  EXPOSE 8000
18
 
19
  # Define the command to run your FastAPI application
20
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
 
1
  # Use the official Python image as a parent image
2
+ FROM python:3.9-slim
3
 
4
  # Set the working directory within the container
5
  WORKDIR /app
 
17
  EXPOSE 8000
18
 
19
  # Define the command to run your FastAPI application
20
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]