Install Python requirements from requirements.txt

This commit is contained in:
aidengilmartin 2019-11-05 20:55:09 +00:00
parent 94a4c3fd25
commit ecd1c7c6cf
3 changed files with 6 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
# VSCode Settings
.vscode
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

View File

@ -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

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
influxdb