Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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"]
|