Update Dockerfile for pulling from Git repo
This commit is contained in:
parent
b830c239cd
commit
35a900ed78
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue