Install Python requirements from requirements.txt
This commit is contained in:
parent
94a4c3fd25
commit
ecd1c7c6cf
3 changed files with 6 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,6 @@
|
||||||
|
# VSCode Settings
|
||||||
|
.vscode
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
|
|
@ -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
1
requirements.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
influxdb
|
Loading…
Reference in a new issue