diff --git a/1_dockerfile/python/Dockerfile b/1_dockerfile/python/Dockerfile index e69de29..d745dc7 100644 --- a/1_dockerfile/python/Dockerfile +++ b/1_dockerfile/python/Dockerfile @@ -0,0 +1,9 @@ +FROM python:2.7 + +COPY requirements.txt /usr/app/requirements.txt +COPY app.py /usr/app/app.py + +RUN pip install -r /usr/app/requirements.txt + +EXPOSE 5000 +ENTRYPOINT ["python", "/usr/app/app.py"]