Fred808 commited on
Commit
9db974a
·
verified ·
1 Parent(s): 3f7da71

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -27,4 +27,6 @@ RUN chmod -R 777 /app
27
  RUN chmod -R 777 /tmp
28
 
29
  # Default command to run the script (change as needed)
30
- CMD ["python", "main.py"]
 
 
 
27
  RUN chmod -R 777 /tmp
28
 
29
  # Default command to run the script (change as needed)
30
+ EXPOSE 8000
31
+
32
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]