Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -14,6 +14,10 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
14 |
|
15 |
# Set up a new user named "user" with user ID 1000
|
16 |
RUN useradd -m -u 1000 user
|
|
|
|
|
|
|
|
|
17 |
# Switch to the "user" user
|
18 |
# USER user
|
19 |
# Set home to the user's home directory
|
|
|
14 |
|
15 |
# Set up a new user named "user" with user ID 1000
|
16 |
RUN useradd -m -u 1000 user
|
17 |
+
|
18 |
+
# Add write permissions for others to the /home/user/app directory
|
19 |
+
RUN chmod o+w /home/user/app
|
20 |
+
|
21 |
# Switch to the "user" user
|
22 |
# USER user
|
23 |
# Set home to the user's home directory
|