Spaces:
Sleeping
Sleeping
thejagstudio
commited on
Commit
•
5703682
1
Parent(s):
09a0f84
Update Dockerfile
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
@@ -37,11 +37,6 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
|
37 |
npm install -g configurable-http-proxy
|
38 |
WORKDIR /app
|
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
|
45 |
|
46 |
# All users can use /home/user as their home directory
|
47 |
ENV HOME=/home/user
|
|
|
37 |
npm install -g configurable-http-proxy
|
38 |
WORKDIR /app
|
39 |
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
# All users can use /home/user as their home directory
|
42 |
ENV HOME=/home/user
|