From 42388cf5644c5548e34d23cbc3493fd4ad5345e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=B3=20Albert=20i=20Beltran?= Date: Mon, 31 May 2021 14:19:26 +0200 Subject: [PATCH] Fix api by reloading nginx after static files creation --- docker/api/entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/api/entrypoint.sh b/docker/api/entrypoint.sh index a7c1aa9..65b7e68 100644 --- a/docker/api/entrypoint.sh +++ b/docker/api/entrypoint.sh @@ -1,3 +1,5 @@ cd /api -python3 start.py & -#nginx -g daemon off \ No newline at end of file +{ + python3 start.py + nginx -s reload +} &