Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -6,4 +6,8 @@ WORKDIR /
|
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
8 |
|
|
|
|
|
|
|
|
|
9 |
CMD ["uvicorn", "modules.app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
8 |
|
9 |
+
RUN useradd -m -u 1000 user
|
10 |
+
USER user
|
11 |
+
|
12 |
+
|
13 |
CMD ["uvicorn", "modules.app:app", "--host", "0.0.0.0", "--port", "7860"]
|