From ecd1c7c6cf5bbb8d74d794778ad9a5102d99b425 Mon Sep 17 00:00:00 2001 From: aidengilmartin <21668472+aidengilmartin@users.noreply.github.com> Date: Tue, 5 Nov 2019 20:55:09 +0000 Subject: [PATCH] Install Python requirements from requirements.txt --- .gitignore | 3 +++ Dockerfile | 3 ++- requirements.txt | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index f717486..8c9cf27 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# VSCode Settings +.vscode + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] diff --git a/Dockerfile b/Dockerfile index 2c12b28..8786379 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,8 @@ RUN echo "deb https://ookla.bintray.com/debian buster main" | tee /etc/apt/sour RUN apt-get update && apt-get -q -y install speedtest # Install Python packages -RUN pip install influxdb +COPY requirements.txt / +RUN pip install -r /requirements.txt # Clean up RUN apt-get -q -y autoremove diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..1d4ac6e --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +influxdb \ No newline at end of file