samarth-ht commited on
Commit
11fefab
·
1 Parent(s): 2613877

fix: add user "hyathi" to sudo group in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -13,6 +13,7 @@ LABEL url="https://github.com/JSchmie/ScrAIbe"
13
 
14
  # Set up a new user named "hyathi" with user ID 1000
15
  RUN useradd -m -u 1000 hyathi
 
16
 
17
  # Install sudo and add user to sudoers group
18
  RUN apt update -y && apt install -y sudo
 
13
 
14
  # Set up a new user named "hyathi" with user ID 1000
15
  RUN useradd -m -u 1000 hyathi
16
+ RUN sudo usermod -aG sudo hyathi
17
 
18
  # Install sudo and add user to sudoers group
19
  RUN apt update -y && apt install -y sudo