Spaces:
Runtime error
Runtime error
Commit
·
37aaad7
1
Parent(s):
11fefab
fix: update Dockerfile to remove unnecessary sudo command for user modification
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -13,7 +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 |
-
RUN
|
17 |
|
18 |
# Install sudo and add user to sudoers group
|
19 |
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 usermod -aG sudo hyathi
|
17 |
|
18 |
# Install sudo and add user to sudoers group
|
19 |
RUN apt update -y && apt install -y sudo
|