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

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