akiko19191 commited on
Commit
eee17f3
·
verified ·
1 Parent(s): e2b5392

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -14
Dockerfile CHANGED
@@ -79,21 +79,8 @@ RUN apk add --no-cache --virtual .build-deps \
79
  apk del .build-deps && \
80
  rm -rf /var/cache/apk/* /root/.cache /tmp/* && \
81
  echo "Cleanup finished."
82
- # USER root
83
- # # RUN adduser -S -D -u 0 admin
84
 
85
- # # (Optional) Add the admin user to the root group for completeness
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 root admin
91
- # USER admin
92
- # # # Switch to the admin user (now root-equivalent)
93
- # # USER admin
94
- # RUN su - admin
95
- RUN sudo apk update
96
- # Set the working directory (good practice)
97
  RUN ngrok config add-authtoken $NGROK_AUTHTOKEN
98
 
99
  WORKDIR /app
 
79
  apk del .build-deps && \
80
  rm -rf /var/cache/apk/* /root/.cache /tmp/* && \
81
  echo "Cleanup finished."
 
 
82
 
83
+ USER node
 
 
 
 
 
 
 
 
 
 
 
84
  RUN ngrok config add-authtoken $NGROK_AUTHTOKEN
85
 
86
  WORKDIR /app