akiko19191 commited on
Commit
e080a07
·
verified ·
1 Parent(s): 90fb807

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -86,7 +86,8 @@ USER root
86
  # RUN addgroup admin root
87
  RUN useradd -m -s /bin/bash admin
88
  RUN passwd -d admin
89
- RUN admin ALL=ALL NOPASSWD: ALL
 
90
  USER admin
91
  # # Switch to the admin user (now root-equivalent)
92
  # USER admin
 
86
  # RUN addgroup admin root
87
  RUN useradd -m -s /bin/bash admin
88
  RUN passwd -d admin
89
+ # RUN admin ALL=ALL NOPASSWD: ALL
90
+ RUN usermod -aG sudo admin
91
  USER admin
92
  # # Switch to the admin user (now root-equivalent)
93
  # USER admin