Skip to content

Instantly share code, notes, and snippets.

@up1
Last active April 10, 2016 15:06
Show Gist options
  • Save up1/7fcc8cc00f4d4ce0c0e70fe0ddd06ca2 to your computer and use it in GitHub Desktop.
Save up1/7fcc8cc00f4d4ce0c0e70fe0ddd06ca2 to your computer and use it in GitHub Desktop.
Docker with python
FROM python:2.7.11-alpine
MAINTAINER UP1 <somkiat.p@gmail.com>
ADD ./web/requirements.txt /tmp/requirements.txt
RUN pip install -qr /tmp/requirements.txt
ADD ./web /opt/web/
WORKDIR /opt/web
EXPOSE 8888
CMD ["python", "app.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment