Skip to content

Commit b1f3309

Browse files
committed
first stab at making a Dockerfile for binder
1 parent c2f5af8 commit b1f3309

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Dockerfile

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM andrewosh/binder-base
2+
3+
MAINTAINER Ben Mabey <[email protected]>
4+
5+
USER root
6+
7+
RUN apt-get update -y && \
8+
apt-get install -y postgresql postgresql-contrib && \
9+
service postgresql start
10+
11+
USER main
12+
13+
ADD environment.yml /home/main/environment.yml
14+
RUN /home/main/anaconda/bin/conda install nb_conda_kernels && \
15+
cd /home/main && /home/main/anaconda/bin/conda env create && \
16+
/bin/bash -c "source /home/main/anaconda/bin/activate provenance-dev && pip install git+https://github.com/bmabey/provenance"
17+
18+
19+
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)