SoUmNerd commited on
Commit
9b05bea
1 Parent(s): 02672e3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -67,12 +67,10 @@ 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 adduser --disabled-password --gecos '' --shell /bin/bash user \
71
- && chown -R user:user /app
 
72
 
73
- # Configura a senha do usuário user como "teste123"
74
- RUN echo 'user:teste123' | chpasswd
75
- RUN usermod -aG sudo user
76
 
77
  USER user
78
 
 
67
  WORKDIR /app
68
 
69
  # Create a non-root user and switch to it
70
+ RUN adduser -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
 
 
 
 
74
 
75
  USER user
76