Skip to content

Commit

Permalink
Merge pull request #93 from stevenaldinger/docker-environment
Browse files Browse the repository at this point in the history
add dockerfile
  • Loading branch information
achael committed May 16, 2019
2 parents 9068e2e + 424b752 commit 6ed6aba
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM continuumio/miniconda2

# install gcc and common build dependencies
RUN apt-get update \
&& apt-get install -y \
build-essential \
pylint

WORKDIR /eht-imaging

COPY . .

# install dependencies and fix tkinter error
# https://stackoverflow.com/questions/37604289/tkinter-tclerror-no-display-name-and-no-display-environment-variable
RUN pip install -r requirements.txt \
&& conda install -y -c conda-forge pynfft \
&& echo "backend: Agg" >> /opt/conda/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc

0 comments on commit 6ed6aba

Please sign in to comment.