forked from BIG-MAP/FINALES2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (26 loc) · 704 Bytes
/
Copy pathDockerfile
File metadata and controls
31 lines (26 loc) · 704 Bytes
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
FROM continuumio/miniconda3:4.12.0
# --- Installing relevant tools
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git vim screen
RUN conda install \
xarray \
netCDF4 \
bottleneck \
numpy \
nodejs \
pandas \
matplotlib \
jupyterlab
# --- Installing FINALES
COPY . /root/app
WORKDIR /root/app
RUN pip install -e .
WORKDIR /root
# --- For when developing in the container
RUN mkdir -p /root/.ssh
RUN echo 'Host github.com' > /root/.ssh/config
RUN echo ' HostName github.com' >> /root/.ssh/config
RUN echo ' IdentityFile ~/data/ssh_keys/github_key' >> /root/.ssh/config
# ---
CMD ["jupyter-lab","--ip=0.0.0.0","--no-browser","--allow-root"]