Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
FROM selenium/standalone-chrome:latest
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 4 |
# build-essential \
|
| 5 |
git \
|
|
|
|
| 1 |
FROM selenium/standalone-chrome:latest
|
| 2 |
|
| 3 |
+
# Set up a new user named "user" with user ID 1000
|
| 4 |
+
RUN useradd -m -u 1000 user
|
| 5 |
+
|
| 6 |
+
# Switch to the "user" user
|
| 7 |
+
USER user
|
| 8 |
+
|
| 9 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 10 |
# build-essential \
|
| 11 |
git \
|