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 # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/
*.py[cod] *.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 RUN apt-get update && apt-get -q -y install speedtest
# Install Python packages # Install Python packages
RUN pip install influxdb COPY requirements.txt /
RUN pip install -r /requirements.txt
# Clean up # Clean up
RUN apt-get -q -y autoremove RUN apt-get -q -y autoremove

1
requirements.txt Normal file
View file

@ -0,0 +1 @@
influxdb