🐛 Fixed Docker not building on Pi
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@ FROM python:3.10-slim
|
|||||||
|
|
||||||
COPY Pipfile* /app/
|
COPY Pipfile* /app/
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
RUN pip install pipenv packaging \
|
RUN apt update && apt install -y jq && jq -r '.default | to_entries[] | .key + .value.version' Pipfile.lock > requirements.txt
|
||||||
&& pipenv install --system
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
COPY classquiz/ /app/classquiz/
|
COPY classquiz/ /app/classquiz/
|
||||||
COPY image_cleanup.py /app/image_cleanup.py
|
COPY image_cleanup.py /app/image_cleanup.py
|
||||||
|
|||||||
Reference in New Issue
Block a user