From a5358c29d54c0ef514e53e5b491890b90a4d5b23 Mon Sep 17 00:00:00 2001 From: Kirosbr Date: Mon, 8 Apr 2024 01:09:08 +0200 Subject: [PATCH] changement sur le dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2f81ec9..a08ea9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,9 @@ FROM python:3.9 WORKDIR /app COPY . . -RUN pip install -r requirements.txt -RUN python manage.py makemigrations -RUN python manage.py migrate +RUN pip install --no-cache-dir -r requirements.txt +RUN python manage.py makemigrations && python manage.py migrate + EXPOSE 8080