binary1ne commited on
Commit
a1af082
·
verified ·
1 Parent(s): 826a530

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -35,9 +35,9 @@ RUN curl -sLo /tmp/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-p
35
  RUN git clone https://github.com/browser-use/web-ui.git /web-ui
36
  WORKDIR /web-ui
37
 
38
- # Create non-root user
39
  RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
40
- && chown -R user:user /web-ui
41
  RUN echo "user ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-user
42
  USER user
43
 
 
35
  RUN git clone https://github.com/browser-use/web-ui.git /web-ui
36
  WORKDIR /web-ui
37
 
38
+ # Create a non-root user and switch to it
39
  RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
40
+ && chown -R user:user /app
41
  RUN echo "user ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-user
42
  USER user
43