forked from LFPy/LFPy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (25 loc) · 800 Bytes
/
Copy pathDockerfile
File metadata and controls
30 lines (25 loc) · 800 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
# -------- base ---------
FROM buildpack-deps:focal AS base
RUN apt-get update && \
apt-get install -y \
wget \
libncurses-dev \
libmpich-dev \
mpich \
python3 \
python3-numpy \
python3-scipy \
python3-matplotlib \
python3-yaml \
python3-pytest \
python3-pip \
cython3 \
jupyter \
ipython3
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && \
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10 && \
update-alternatives --install /usr/bin/ipython ipython /usr/bin/ipython3 10
# ------ latest -----------
# FROM base AS latest
RUN pip install h5py mpi4py neuron
RUN pip install git+https://github.com/LFPy/LFPy.git@master#egg=LFPy