ChintanSatva commited on
Commit
ffd1cb6
·
verified ·
1 Parent(s): 5bed1d5

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/hub && chmod -R 777 /app/cache
17
 
18
  # Copy application code
19
- COPY expense.py .
20
 
21
  # Set environment variables
22
  ENV HF_HOME=/app/cache
@@ -27,4 +27,4 @@ ENV TRANSFORMERS_CACHE=/app/cache
27
  EXPOSE 7860
28
 
29
  # Run FastAPI with Uvicorn
30
- CMD ["uvicorn", "expense:app", "--host", "0.0.0.0", "--port", "7860"]
 
16
  RUN mkdir -p /app/cache/hub && chmod -R 777 /app/cache
17
 
18
  # Copy application code
19
+ COPY app.py .
20
 
21
  # Set environment variables
22
  ENV HF_HOME=/app/cache
 
27
  EXPOSE 7860
28
 
29
  # Run FastAPI with Uvicorn
30
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]