changement sur le dockerfile
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user