File size: 439 Bytes
35b0dd6
1dbcc8d
 
 
 
7a3503f
6bab97d
dfe4532
6bab97d
1dbcc8d
 
 
 
 
7a3503f
1dbcc8d
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM jupyter/base-notebook:4d70cf8da953

COPY requirements.txt .
RUN pip install -r requirements.txt

# Install required libraries
USER root
RUN apt-get update && apt-get install -y xorg libgomp1

RUN mkdir ./pages
COPY /pages ./pages

ENV PROJ_LIB='/opt/conda/share/proj'

# Ensure the notebook user has access to the content
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}

EXPOSE 8765

CMD ["solara", "run", "./pages", "--host=0.0.0.0"]