Update Dockerfile
Browse files- 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 |
-
|
| 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 |
|