Created
August 30, 2017 19:20
-
-
Save dustinlacewell-wk/726fb1ec7a9a80b3e3bac44d36e39d51 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 nginx | |
RUN apt-get update && apt-get install -y python python-dev python-pip git-core | |
RUN pip install nltk | |
RUN python -c "import nltk; nltk.download('stopwords'); nltk.download('punkt')" | |
COPY ./blot/requirements.txt /blot/requirements.txt | |
RUN pip install -r /blot/requirements.txt | |
COPY ./blot /blot | |
RUN cd /blot && python /blot/setup.py install | |
COPY . /blog | |
WORKDIR /blog | |
RUN fab build && mv output/* /usr/share/nginx/html/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment