Fixed Dockerfile

This commit is contained in:
Mawoka
2023-03-20 23:27:17 +01:00
committed by GitHub
parent 603939fb20
commit a7f2d59f36
+2 -2
View File
@@ -1,8 +1,8 @@
FROM python:3.10
FROM python:3.10-slim
COPY Pipfile* /app/
WORKDIR /app/
RUN apt update && apt install -y jq && jq -r '.default | to_entries[] | .key + .value.version' Pipfile.lock > requirements.txt
RUN apt update && apt install -y jq gcc && jq -r '.default | to_entries[] | .key + .value.version' Pipfile.lock > requirements.txt
RUN pip install -r requirements.txt
COPY classquiz/ /app/classquiz/