favoredone commited on
Commit
9bb706c
·
verified ·
1 Parent(s): 4f68dd1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -18,4 +18,7 @@ RUN chmod -R 777 /app
18
 
19
  # Ensure the app runs as the same user as the Space UI
20
  RUN useradd -m -u 1000 user
21
- USER user
 
 
 
 
18
 
19
  # Ensure the app runs as the same user as the Space UI
20
  RUN useradd -m -u 1000 user
21
+ USER user
22
+
23
+
24
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]