Skip to content

Instantly share code, notes, and snippets.

@agusnavce
Created May 14, 2019 18:48
Show Gist options
  • Save agusnavce/9c22afd7f61a375101b5ad302b6b7415 to your computer and use it in GitHub Desktop.
Save agusnavce/9c22afd7f61a375101b5ad302b6b7415 to your computer and use it in GitHub Desktop.
Docker file to contenarize flask app
FROM ubuntu:latest
RUN apt-get update -y
RUN apt-get install -y python-pip python-dev build-essential
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENTRYPOINT ["python"]
CMD ["app.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment