diff --git a/docker/Dockerfile.makemigrations b/docker/Dockerfile.makemigrations index a529085e..5cf1dfeb 100644 --- a/docker/Dockerfile.makemigrations +++ b/docker/Dockerfile.makemigrations @@ -18,5 +18,5 @@ RUN set -ex \ && apt-get install -y git xmlsec1 libmysqlclient18 \ && apt-get install -y $buildDeps --no-install-recommends RUN pip install -c /setup/constraints.txt -r /setup/requirements.txt -CMD ["python","/source/manage.py", "makemigrations"] +ENTRYPOINT ["python","/source/manage.py", "makemigrations"] diff --git a/makemigrations.sh b/makemigrations.sh index c59c5a49..c150e271 100755 --- a/makemigrations.sh +++ b/makemigrations.sh @@ -1,4 +1,4 @@ #!/bin/bash -x docker image build -f docker/Dockerfile.makemigrations -t makemigrations . -docker run -it --env-file=docker/laptop-mode-env -v $(pwd):/source makemigrations +docker run -it --env-file=docker/laptop-mode-env -v $(pwd):/source makemigrations $*