Created
February 21, 2018 23:28
-
-
Save iksnae/dc10bba38d3443c7f359c3189bae557b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:16.04 | |
| # run update | |
| RUN apt-get update | |
| # install python, pip, scipy, numpy, matplotlib system support | |
| RUN apt-get install -y python python-pip python-numpy python-scipy python-matplotlib | |
| # supress pip warnings by updating | |
| RUN pip install --upgrade pip | |
| # install pip modules for pandas, matplotlib + scikit-learn | |
| RUN pip install -U pandas matplotlib scikit-learn | |
| # install python dependencies | |
| COPY requirements.txt . | |
| RUN pip install -U -r requirements.txt | |
| # declare environment variables | |
| ENV NLTK_DATA /DATA/nltk_data | |
| ENV SPACY_DATA /DATA/spacy_data | |
| # Copy source + data files | |
| COPY . . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment