multistage docker

This commit is contained in:
www
2020-09-13 19:33:48 +00:00
parent 823ae5f623
commit e8049d4939

View File

@@ -22,5 +22,5 @@ ENV PATH="/opt/venv/bin:$PATH"
COPY ./fet2020 /app COPY ./fet2020 /app
RUN python manage.py makemigrations && python manage.py makemigrations posts members RUN python manage.py makemigrations && python manage.py makemigrations posts members
RUN python manage.py migrate