brendon-ai commited on
Commit
b04a975
·
verified ·
1 Parent(s): 5a3c9f4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -21,11 +21,11 @@ RUN pip install --no-cache-dir -r requirements.txt
21
 
22
  # Copy your application code
23
  COPY app.py .
24
- å
25
  # Expose the port your API will run on
26
  # Hugging Face Spaces typically uses port 8000 for custom Docker builds
27
  EXPOSE 8000
28
 
29
  # Command to start the FastAPI application using Uvicorn as a Python module.
30
  # This is more robust as it explicitly invokes 'python' to run the 'uvicorn' module.
31
- CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
 
21
 
22
  # Copy your application code
23
  COPY app.py .
24
+
25
  # Expose the port your API will run on
26
  # Hugging Face Spaces typically uses port 8000 for custom Docker builds
27
  EXPOSE 8000
28
 
29
  # Command to start the FastAPI application using Uvicorn as a Python module.
30
  # This is more robust as it explicitly invokes 'python' to run the 'uvicorn' module.
31
+ CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]