Spaces:
Running
Running
BloodyInside
commited on
Commit
·
58b20c3
1
Parent(s):
d34638f
lat hope
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -70,8 +70,9 @@ RUN bash -c 'export HOST=$(cat /secrets/HOST) && \
|
|
70 |
python manage.py migrate --database=DB1 && \
|
71 |
python manage.py migrate --database=DB2'
|
72 |
|
|
|
73 |
RUN rm -rf /secrets
|
74 |
-
|
75 |
|
76 |
CMD ["uvicorn", "core.asgi:application", "--host", "0.0.0.0", "--port", "7860", "--log-level", "debug"]
|
77 |
|
|
|
70 |
python manage.py migrate --database=DB1 && \
|
71 |
python manage.py migrate --database=DB2'
|
72 |
|
73 |
+
USER root
|
74 |
RUN rm -rf /secrets
|
75 |
+
USER user
|
76 |
|
77 |
CMD ["uvicorn", "core.asgi:application", "--host", "0.0.0.0", "--port", "7860", "--log-level", "debug"]
|
78 |
|