Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -8,9 +8,9 @@ COPY ./app /code/app
|
|
8 |
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
10 |
|
11 |
-
|
12 |
|
13 |
-
|
14 |
|
15 |
EXPOSE 7860
|
16 |
|
|
|
8 |
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
10 |
|
11 |
+
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
12 |
|
13 |
+
USER docker
|
14 |
|
15 |
EXPOSE 7860
|
16 |
|