Removing migrate from Dockerfile

This commit is contained in:
Tony Hendrick
2020-05-14 15:20:41 -07:00
parent 2ae26b0e7b
commit d649761e4e
3 changed files with 10 additions and 8 deletions

6
docker/Dockerfile vendored
View File

@@ -14,7 +14,7 @@ RUN python3 -m pip install -r /usr/src/app/requirements.txt
EXPOSE 8000
WORKDIR /usr/src/app/src/
RUN ../docker/scripts/wait-for-it.sh db:5432
RUN python3 manage.py migrate
RUN python3 manage.py migrate interface
#RUN ../docker/scripts/wait-for-it.sh db:5432
#RUN python3 manage.py migrate
#RUN python3 manage.py migrate interface
CMD ["python3", "manage.py", "runserver", "0.0.0.0:8000"]