Created
March 5, 2020 01:28
-
-
Save afaqk9394/59a4728833a98343413c5e8f2cf29179 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 ubuntu:16.04 | |
MAINTANER Your Name "[email protected]" | |
RUN apt-get update -y && \ | |
apt-get install -y python-pip python-dev | |
# We copy just the requirements.txt first to leverage Docker cache | |
COPY ./requirements.txt /app/requirements.txt | |
WORKDIR /app | |
RUN pip install -r requirements.txt | |
COPY . /app | |
ENTRYPOINT [ "python" ] | |
CMD [ "app.py" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment