-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
72 lines (62 loc) · 1.27 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# amd64 or arm64
ARG arch=amd64
FROM --platform=linux/${arch} condaforge/miniforge3:24.1.2-0
WORKDIR /workspace
# ===== Configure TimeZone -> tzdata =====
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
#==== Install via MAMBA =====
RUN mamba install -y \
contextily \
geocube \
geopandas==0.12.2 \
imageio \
jupyterlab \
mapclassify \
matplotlib \
matplotlib-scalebar \
meshio \
networkx \
notebook \
openpyxl \
plotly \
pvlib \
Pyarrow \
pyogrio \
pysolar \
python==3.10 \
pyvista \
pywavelets \
rasterio \
scikit-learn \
scipy \
seaborn \
windrose \
xlrd \
xlwt \
&& mamba clean -ya
# ===== Install via PIP =====
RUN pip3 install -U --no-cache-dir \
dijkstar \
pythermalcomfort \
suntimes
# ===== Install apt =====
RUN apt update && \
apt install -y \
ffmpeg \
libfontconfig1 \
libgl1-mesa-glx \
libsm6 \
libxext6 \
libxrender1 \
xvfb
# ===== Install t4gpd =====
# COPY ./t4gpd-0.9.5.tar.gz /workspace
# RUN pip install t4gpd-0.9.5.tar.gz
# RUN rm --force t4gpd-0.9.5.tar.gz
RUN pip3 install -U --no-cache-dir t4gpd==0.9.5
# ===== Check =====
# CMD python -c "import t4gpd; print(f'Version de t4gpd : {t4gpd.__version__}')"
# CMD [ "/bin/bash" ]
EXPOSE 8888
CMD ["bash", "-c", "jupyter-lab --ip='*' --port=8888 --no-browser --allow-root"]