From 98307f868a25e1864442b31dbec8bba81923093e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bondis?= Date: Wed, 9 Oct 2019 12:09:18 -0400 Subject: [PATCH] RPi: fix alpine version for setup, only one layer for pip install --- setup/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/Dockerfile b/setup/Dockerfile index 101fc36a..2b3c3c6c 100644 --- a/setup/Dockerfile +++ b/setup/Dockerfile @@ -1,12 +1,12 @@ -ARG DISTRO=alpine:3.8 +ARG DISTRO=alpine:3.10 FROM $DISTRO RUN mkdir -p /app WORKDIR /app COPY requirements.txt requirements.txt -RUN apk add --no-cache curl python3 py3-pip -RUN pip3 install -r requirements.txt +RUN apk add --no-cache curl python3 py3-pip \ + && pip3 install -r requirements.txt COPY server.py ./server.py COPY main.py ./main.py