akiko19191 commited on
Commit
62f3130
·
verified ·
1 Parent(s): ff17efc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -9
Dockerfile CHANGED
@@ -84,16 +84,16 @@ RUN apk add --no-cache --virtual .build-deps \
84
  # # RUN adduser -S -D -u 0 admin
85
 
86
  # # (Optional) Add the admin user to the root group for completeness
87
- # RUN addgroup admin root
88
- RUN useradd -m -s /bin/bash admin
89
- RUN passwd -d admin
90
- # RUN admin ALL=ALL NOPASSWD: ALL
91
- RUN usermod -aG root admin
92
- USER admin
93
- # # Switch to the admin user (now root-equivalent)
94
  # USER admin
95
- RUN su - admin
96
-
 
 
97
  # Set the working directory (good practice)
98
  RUN ngrok config add-authtoken $NGROK_AUTHTOKEN
99
 
 
84
  # # RUN adduser -S -D -u 0 admin
85
 
86
  # # (Optional) Add the admin user to the root group for completeness
87
+ # # RUN addgroup admin root
88
+ # RUN useradd -m -s /bin/bash admin
89
+ # RUN passwd -d admin
90
+ # # RUN admin ALL=ALL NOPASSWD: ALL
91
+ # RUN usermod -aG root admin
 
 
92
  # USER admin
93
+ # # # Switch to the admin user (now root-equivalent)
94
+ # # USER admin
95
+ # RUN su - admin
96
+ RUN sudo apk update
97
  # Set the working directory (good practice)
98
  RUN ngrok config add-authtoken $NGROK_AUTHTOKEN
99