Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Build the image using
# GPU: nvidia-docker build -t textseg .
# Normal: docker build -t textseg .

# How to run it
# (nvidia-)docker run -v $PWD:$PWD -p 80:80 -it textseg
# `-p 80:80` : will help in running the flask app
# `-v $PWD:$PWD`: mounts the current folder inside the container with the same path so that your config files work


FROM library/python:2

# MAINTAINER Siddharth Yadav "[email protected]"

RUN pip install http://download.pytorch.org/whl/cu80/torch-0.3.0-cp27-cp27mu-linux_x86_64.whl
RUN pip install cython numpy scipy gensim ipython jupyter tqdm pathlib2 segeval tensorboard_logger flask flask_wtf nltk pandas xlrd xlsxwriter termcolor

EXPOSE 80

CMD ["/bin/bash"]