Forked from thekashifmalik/gist:b9bca420e2ef9bc7a364
Last active
August 29, 2015 14:25
-
-
Save mattrobenolt/c14bb235852cf72b66c5 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 disqus/nginx:python2.7-light | |
RUN mkdir -p /usr/src/app | |
WORKDIR /usr/src/app | |
# First compile numpy by itself so we never have to do this again | |
COPY requirements/numpy.txt requirements/numpy.txt | |
RUN pip install --no-cache-dir -r requirements/numpy.txt | |
# Install dev stuff early becaues they prob don't change | |
COPY requirements/dev.txt requirements/dev.txt | |
RUN pip install --no-cache-dir -r requirements/dev.txt | |
# Install our global dependencies | |
COPY requirements/global.txt requirements/global.txt | |
RUN pip install --no-cache-dir -r requirements/global.txt | |
COPY . /usr/src/app | |
EXPOSE 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment