Skip to content

Instantly share code, notes, and snippets.

@tchia04
Created September 29, 2017 00:23
Show Gist options
  • Save tchia04/da4017930e35ac544b3087d66c909ddb to your computer and use it in GitHub Desktop.
Save tchia04/da4017930e35ac544b3087d66c909ddb to your computer and use it in GitHub Desktop.
mydockerfile
FROM python:2.7-alpine
RUN mkdir /app
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY . .
LABEL maintainer="Nick Janetakis <nick.janetakis@gmail.com>" \
version="1.0"
CMD flask run --host=0.0.0.0 --port=5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment