From a7f2d59f36fe5ec8183f551f4ee1960d65ac8281 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Mon, 20 Mar 2023 23:27:17 +0100 Subject: [PATCH] Fixed Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 75ff82b..10ba5d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/