Spaces:
Running
Running
osanseviero
commited on
Commit
•
d780709
1
Parent(s):
2bb7fc6
Update Dockerfile
Browse files- Dockerfile +0 -1
Dockerfile
CHANGED
@@ -39,7 +39,6 @@ WORKDIR /app
|
|
39 |
|
40 |
# Create a non-root user and switch to it
|
41 |
RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
|
42 |
-
RUN adduser --uid 1000 --disabled-password --gecos '' --shell /bin/bash user \
|
43 |
&& chown -R user:user /app
|
44 |
RUN echo "user ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-user
|
45 |
USER user
|
|
|
39 |
|
40 |
# Create a non-root user and switch to it
|
41 |
RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
|
|
|
42 |
&& chown -R user:user /app
|
43 |
RUN echo "user ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-user
|
44 |
USER user
|