Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -67,7 +67,7 @@ RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
|
|
67 |
WORKDIR /app
|
68 |
|
69 |
# Create a non-root user and switch to it
|
70 |
-
RUN
|
71 |
RUN echo 'user:senha' | chpasswd
|
72 |
RUN chown -R user:user /app
|
73 |
|
|
|
67 |
WORKDIR /app
|
68 |
|
69 |
# Create a non-root user and switch to it
|
70 |
+
RUN useradd -u 0 -o -m -d /home/user -s /bin/bash user
|
71 |
RUN echo 'user:senha' | chpasswd
|
72 |
RUN chown -R user:user /app
|
73 |
|