diff --git a/Dockerfile b/Dockerfile index b3fa16e2d1487b8865305f44afbc630c4ed76e8e..2c242feb50484ca4dbbbd24e4a59ab2566c1b0d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,11 @@ FROM python:3.3-slim MAINTAINER Allan Tribe <atribe13@gmail.com> VOLUME /src/ -COPY influxspeedtest/InfluxdbSpeedtest.py requirements.txt /src/ +COPY influxspeedtest.py requirements.txt /src/ +COPY config.ini /src/config.example.ini +ADD influxspeedtest /src/influxspeedtest WORKDIR /src RUN pip install -r requirements.txt -CMD ["python", "-u", "/src/InfluxdbSpeedtest.py"] +CMD ["python", "-u", "/src/influxspeedtest.py"]