From 35a900ed7817ad77c12f6243b17fc8b5967c9733 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Tue, 9 Aug 2022 10:27:19 +0100 Subject: [PATCH] Update Dockerfile for pulling from Git repo --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a0eb4e2..2d6f164 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,12 @@ ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 RUN apt update -RUN apt install -y gcc libbluetooth-dev bluez bluetooth +RUN apt install -y gcc git libbluetooth-dev bluez bluetooth RUN apt clean ADD requirements.txt . -RUN python -m pip install -r requirements.txt +RUN python -m pip install -U pip +RUN python -m pip install -Ur requirements.txt RUN useradd -d /app -m appuser WORKDIR /app