Spaces:
Sleeping
Sleeping
kolibril13
commited on
Commit
•
7a3503f
1
Parent(s):
6bab97d
add lib
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -3,16 +3,16 @@ FROM jupyter/base-notebook:4d70cf8da953
|
|
3 |
COPY requirements.txt .
|
4 |
RUN pip install -r requirements.txt
|
5 |
|
6 |
-
# Install
|
7 |
USER root
|
8 |
-
RUN apt-get update && apt-get install -y libx11-6
|
9 |
|
10 |
RUN mkdir ./pages
|
11 |
COPY /pages ./pages
|
12 |
|
13 |
ENV PROJ_LIB='/opt/conda/share/proj'
|
14 |
|
15 |
-
|
16 |
RUN chown -R ${NB_UID} ${HOME}
|
17 |
USER ${NB_USER}
|
18 |
|
|
|
3 |
COPY requirements.txt .
|
4 |
RUN pip install -r requirements.txt
|
5 |
|
6 |
+
# Install required libraries
|
7 |
USER root
|
8 |
+
RUN apt-get update && apt-get install -y libx11-6 libxrender1
|
9 |
|
10 |
RUN mkdir ./pages
|
11 |
COPY /pages ./pages
|
12 |
|
13 |
ENV PROJ_LIB='/opt/conda/share/proj'
|
14 |
|
15 |
+
# Ensure the notebook user has access to the content
|
16 |
RUN chown -R ${NB_UID} ${HOME}
|
17 |
USER ${NB_USER}
|
18 |
|