ChintanSatva commited on
Commit
d2523e0
·
verified ·
1 Parent(s): e594238

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -16,7 +16,7 @@ RUN pip install --no-cache-dir -r requirements.txt
16
  RUN mkdir -p /app/cache
17
 
18
  # Copy application code
19
- COPY expense.py .
20
 
21
  # Set environment variables for cache
22
  ENV HF_HOME=/app/cache
@@ -26,4 +26,4 @@ ENV NUMBA_CACHE_DIR=/app/cache
26
  EXPOSE 7860
27
 
28
  # Run FastAPI with Uvicorn
29
- CMD ["uvicorn", "expense:app", "--host", "0.0.0.0", "--port", "7860"]
 
16
  RUN mkdir -p /app/cache
17
 
18
  # Copy application code
19
+ COPY app.py .
20
 
21
  # Set environment variables for cache
22
  ENV HF_HOME=/app/cache
 
26
  EXPOSE 7860
27
 
28
  # Run FastAPI with Uvicorn
29
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]