🐛 Fixed Docker not building on Pi

This commit is contained in:
Mawoka
2023-03-19 21:00:59 +01:00
committed by GitHub
parent 5947c7aade
commit 3c7eb2a5d6
+2 -2
View File
@@ -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