aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-07-03 15:39:38 +0200
committerGravatar Leon Sandøy <[email protected]>2019-07-03 15:39:38 +0200
commitb33e1a23b145865418f607d39a87daa7922b1952 (patch)
tree0d933631fa680edf6cb391d317d05dbb1447e537 /docker
parentSetting up a method for automatically applying migrations in production. Maki... (diff)
Fixing the entrypoint location - forgot that we created an app root dir.
Diffstat (limited to 'docker')
-rw-r--r--docker/app/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/app/Dockerfile b/docker/app/Dockerfile
index c91c013a..903e7dc6 100644
--- a/docker/app/Dockerfile
+++ b/docker/app/Dockerfile
@@ -47,6 +47,6 @@ RUN apt-get purge -y \
libpq-dev
# Migrate, collect and start the app.
-RUN chmod +x /docker/app/scripts/migrate.sh
-ENTRYPOINT ["/docker/app/scripts/migrate.sh"]
+RUN chmod +x /app/docker/app/scripts/migrate.sh
+ENTRYPOINT ["/app/docker/app/scripts/migrate.sh"]
CMD ["uwsgi", "--ini", "docker/app/uwsgi.ini"]