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