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 WORKDIR /app
COPY . . COPY . .
RUN pip install -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
RUN python manage.py makemigrations RUN python manage.py makemigrations && python manage.py migrate
RUN python manage.py migrate
EXPOSE 8080 EXPOSE 8080