premo625 commited on
Commit
be62a13
·
verified ·
1 Parent(s): a8c1f90

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -17,7 +17,7 @@ ENV PYTHONUNBUFFERED=1 \
17
  COPY requirements.txt .
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
20
- COPY ./main.py .
21
  COPY . .
22
 
23
  # Expose the port for Hugging Face Spaces
@@ -26,4 +26,4 @@ EXPOSE 7860
26
 
27
 
28
  # Use python -m uvicorn for reliability
29
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
17
  COPY requirements.txt .
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
20
+ COPY app.main .
21
  COPY . .
22
 
23
  # Expose the port for Hugging Face Spaces
 
26
 
27
 
28
  # Use python -m uvicorn for reliability
29
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]