diff --git a/Dockerfile b/Dockerfile
index 6e1e55022765e408790898be1586f880b9ef4906..96b4be4f4c5eee4b523e641b2582f1cf086873e8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,9 +1,10 @@
 FROM python:3.3-slim
 MAINTAINER Allan Tribe <atribe13@gmail.com>
 
-ADD . /src
+VOLUME /src/
+COPY InfluxdbSpeedtest.py requirements.txt /src/
 WORKDIR /src
 
 RUN pip install -r requirements.txt
 
-CMD ["python", "/src/InfluxdbSpeedtest.py"]
+CMD ["python", "-u", "/src/InfluxdbSpeedtest.py"]