Sahil Garg commited on
Commit
9075c7a
·
1 Parent(s): 779bba4

docker file updated

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -4,6 +4,7 @@ FROM python:3.11-slim
4
  # -------------------------------
5
  # Set working directory
6
  WORKDIR /app
 
7
 
8
  # -------------------------------
9
  # Install system dependencies
@@ -43,5 +44,5 @@ ENV PYTHONUNBUFFERED=1
43
  EXPOSE 8000
44
 
45
  # -------------------------------
46
- # Start FastAPI with reload enabled
47
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
 
4
  # -------------------------------
5
  # Set working directory
6
  WORKDIR /app
7
+ COPY . .
8
 
9
  # -------------------------------
10
  # Install system dependencies
 
44
  EXPOSE 8000
45
 
46
  # -------------------------------
47
+ # Start FastAPI app from app.py
48
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]