Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -22,13 +22,13 @@ COPY ./app /code/app
|
|
22 |
#
|
23 |
RUN apt-get update && apt-get install -y sudo
|
24 |
|
25 |
-
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
26 |
-
|
27 |
-
USER docker
|
28 |
|
29 |
#
|
30 |
EXPOSE 7860
|
31 |
|
|
|
|
|
32 |
#
|
33 |
RUN chmod a+x /code/start_service.sh
|
34 |
|
|
|
22 |
#
|
23 |
RUN apt-get update && apt-get install -y sudo
|
24 |
|
25 |
+
# RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
|
|
|
|
26 |
|
27 |
#
|
28 |
EXPOSE 7860
|
29 |
|
30 |
+
USER root
|
31 |
+
|
32 |
#
|
33 |
RUN chmod a+x /code/start_service.sh
|
34 |
|