From 3c7eb2a5d638733588daec045fe0cce354f59fee Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sun, 19 Mar 2023 21:00:59 +0100 Subject: [PATCH] :bug: Fixed Docker not building on Pi --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index faae44d..6fa09bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM python:3.10-slim COPY Pipfile* /app/ WORKDIR /app/ -RUN pip install pipenv packaging \ -&& pipenv install --system +RUN apt update && apt install -y jq && jq -r '.default | to_entries[] | .key + .value.version' Pipfile.lock > requirements.txt +RUN pip install -r requirements.txt COPY classquiz/ /app/classquiz/ COPY image_cleanup.py /app/image_cleanup.py