Skip to content

Instantly share code, notes, and snippets.

@thekashifmalik
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save thekashifmalik/b9bca420e2ef9bc7a364 to your computer and use it in GitHub Desktop.
Save thekashifmalik/b9bca420e2ef9bc7a364 to your computer and use it in GitHub Desktop.
WIP dockerfile
FROM disqus/nginx:python2.7-light
RUN mkdir -p /usr/src
WORKDIR /usr/src
# build python env
COPY requirements/dev.txt /usr/src/requirements/numpy.txt
RUN pip install --no-cache-dir -r requirements/numpy.txt
COPY requirements/global.txt /usr/src/requirements/global.txt
COPY requirements/dev.txt /usr/src/requirements/dev.txt
RUN pip install --no-cache-dir -r requirements/global.txt
RUN pip install --no-cache-dir -r requirements/dev.txt
COPY . /usr/src
EXPOSE 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment