Skip to content

Commit

Permalink
Merge 2893567 into a983478
Browse files Browse the repository at this point in the history
  • Loading branch information
timodonnell committed Aug 30, 2016
2 parents a983478 + 2893567 commit 8412473
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.git
.gitignore
LICENSE
*.txt
*.csv
*.zip
*.swp
!requirements.txt
experiments
45 changes: 45 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
FROM nvidia/cuda:cudnn-runtime

MAINTAINER Tim O'Donnell <timodonnell@gmail.com>
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get update && \
apt-get install --yes \
python3-dev python-dev \
python-virtualenv \
libblas-dev \
liblapack-dev \
gfortran \
libhdf5-serial-dev \
libyaml-dev \
libzmq3-dev \
libfreetype6-dev \
libpng12-dev \
pkg-config && \
apt-get clean && \
useradd --create-home --home-dir /home/user --shell /bin/bash user
# Set the locale (otherwise dask-distributed complains).
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
USER user
ENV HOME=/home/user
ENV SHELL=/bin/bash
ENV USER=user
WORKDIR /home/user
# Setup virtual envs and install convenience packages.
RUN virtualenv venv-py3 --python=python3 && \
venv-py3/bin/pip install distributed jupyter seaborn && \
virtualenv venv-py2 --python=python && \
venv-py2/bin/pip install distributed jupyter seaborn
# Install mhcflurry.
COPY . ./mhcflurry
RUN venv-py3/bin/pip install ./mhcflurry && venv-py2/bin/pip install ./mhcflurry
EXPOSE 8888
CMD venv-py3/bin/jupyter notebook --no-browser
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ numpy>= 1.11
pandas>=0.13.1
appdirs
theano>=0.8.2
keras<1.0
keras
h5py
cherrypy
bottle
fancyimpute>=0.0.12
scikit-learn
typechecks
typechecks

0 comments on commit 8412473

Please sign in to comment.