forked from mmaelicke/scikit-gstat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (24 loc) · 618 Bytes
/
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
# specify a default Python version
ARG PYTHON_VERSION=3.8
# build from Python
FROM python:${PYTHON_VERSION}
LABEL maintainer="Mirko Mälicke"
# set a user
RUN adduser skguser
USER skguser
WORKDIR /home/skguser
# copy the tutorial
RUN mkdir tutorials
COPY --chown=skguser:skguser ./tutorials ./tutorials
# set the path
ENV PATH="/home/skguser/.local/bin:${PATH}"
# install scikit-gstat
RUN pip install scikit-gstat
# install optional dependencies
RUN pip install gstools pykrige
RUN pip install plotly
RUN pip install rise
RUN pip install jupyter
# open port 8888
EXPOSE 8888
CMD jupyter notebook --ip "0.0.0.0"