Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
@@ -1,6 +1,3 @@
|
|
1 |
-
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
-
# you will also find guides on how best to write your Dockerfile
|
3 |
-
|
4 |
FROM python:3.9
|
5 |
|
6 |
# Install libgl1-mesa-glx
|
@@ -15,8 +12,8 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
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 /usr/local/lib/python3.9/site-packages/oemer/checkpoints/
|
19 |
-
RUN chmod o+w /usr/local/lib/python3.9/site-packages/oemer/checkpoints/
|
20 |
|
21 |
# Switch to the "user" user
|
22 |
USER user
|
|
|
|
|
|
|
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
# Install libgl1-mesa-glx
|
|
|
12 |
# Set up a new user named "user" with user ID 1000
|
13 |
RUN useradd -m -u 1000 user
|
14 |
|
15 |
+
# Add write permissions for others to the /usr/local/lib/python3.9/site-packages/oemer/checkpoints/seg_net/ directory
|
16 |
+
RUN chmod o+w /usr/local/lib/python3.9/site-packages/oemer/checkpoints/seg_net/
|
17 |
|
18 |
# Switch to the "user" user
|
19 |
USER user
|