From 29f784efa30baaed628c57996a3d41179ad92a39 Mon Sep 17 00:00:00 2001
From: David Trattnig <david@subsquare.at>
Date: Mon, 6 Feb 2023 17:43:40 +0100
Subject: [PATCH] refact: use without gunicorn for now (see #36)

---
 Dockerfile | 4 +++-
 Makefile   | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index d792c12..81c4c0b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -43,4 +43,6 @@ RUN set -e \
 # Start Service
 EXPOSE 8008
 ENTRYPOINT ["make"]
-CMD ["run.gunicorn"]
+# Uncomment when this is done: https://gitlab.servus.at/aura/engine-api/-/issues/36
+# CMD ["run.gunicorn"]
+CMD ["run"]
diff --git a/Makefile b/Makefile
index 91cd4ee..edf13ce 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ DOCKER_RUN = @docker run \
 init.app:: pyproject.toml
 	poetry install
 	cp -n config/sample.engine-api.ini config/engine-api.ini
-	cp -n config/sample/gunicorn/sample-production.gunicorn.conf.py config/gunicorn.conf.py
+	cp -n config/sample/gunicorn/sample.gunicorn.conf.py config/gunicorn.conf.py
 
 init.dev:: pyproject.toml
 	poetry install --with dev
-- 
GitLab