Update Dockerfile for pulling from Git repo

This commit is contained in:
Scott Wallace 2022-08-09 10:27:19 +01:00
parent b830c239cd
commit 35a900ed78
Signed by: scott
GPG key ID: AA742FDC5AFE2A72

View file

@ -7,11 +7,12 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1
RUN apt update 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 RUN apt clean
ADD requirements.txt . 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 RUN useradd -d /app -m appuser
WORKDIR /app WORKDIR /app