diff --git a/Dockerfile b/Dockerfile index a52d9b96..1f8d52e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM ubuntu:12.04 MAINTAINER Docker Education Team RUN apt-get update RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl python-all python-pip wget -ADD ./webapp /opt/webapp/ +ADD ./webapp/requirements.txt /opt/webapp/requirements.txt WORKDIR /opt/webapp RUN pip install -r requirements.txt +ADD ./webapp /opt/webapp/ EXPOSE 5000 CMD ["python", "app.py"]