Update Dockerfile
Browse files- Dockerfile +0 -4
Dockerfile
CHANGED
|
@@ -14,10 +14,6 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
| 14 |
|
| 15 |
RUN chmod -R 777 /app
|
| 16 |
|
| 17 |
-
# Ensure the app runs as the same user as the Space UI
|
| 18 |
-
RUN useradd -m -u 1000 user
|
| 19 |
-
USER user
|
| 20 |
-
|
| 21 |
|
| 22 |
COPY --chown=user . /app
|
| 23 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 14 |
|
| 15 |
RUN chmod -R 777 /app
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
COPY --chown=user . /app
|
| 19 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|