bardd commited on
Commit
9b5cb22
·
verified ·
1 Parent(s): f8d91b4

added port

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -26,6 +26,8 @@ RUN pip install --no-cache-dir --upgrade pip setuptools && \
26
  # Copy your application files
27
  COPY . .
28
 
29
- # Command to run your application
30
- CMD ["python3", "main.py"]
31
 
 
 
 
26
  # Copy your application files
27
  COPY . .
28
 
29
+ # Expose the port
30
+ EXPOSE 7860
31
 
32
+ # Command to run your application
33
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]