changement sur le dockerfile

This commit is contained in:
2024-04-08 01:09:08 +02:00
parent e669809741
commit a5358c29d5

View File

@@ -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