rahul7star commited on
Commit
3f13a81
·
verified ·
1 Parent(s): f971045

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,10 +7,10 @@ COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  # Copy FastAPI app
10
- COPY autorun_lora_gradio.py .
11
 
12
  # Expose the port Hugging Face Spaces expects
13
  EXPOSE 7860
14
 
15
  # Start the FastAPI app
16
- CMD ["uvicorn", "app:autorun_lora_gradio", "--host", "0.0.0.0", "--port", "7860"]
 
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  # Copy FastAPI app
10
+ COPY app.py .
11
 
12
  # Expose the port Hugging Face Spaces expects
13
  EXPOSE 7860
14
 
15
  # Start the FastAPI app
16
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]