From da3807d15c87aa12631df196d4078a418eece9ee Mon Sep 17 00:00:00 2001 From: "Christian R. Garcia" Date: Mon, 4 Nov 2024 20:19:44 -0800 Subject: [PATCH] Update Dockerfile. Get rid of sleep after fail in entry.sh --- Dockerfile | 4 ++-- entry.sh | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d222f89e..a0244095 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,8 @@ # inherit from the flaskbase iamge: FROM tapis/flaskbase # set the name of the api, for use by some of the common modules. -ENV TAPIS_API actors-api -ENV PYTHONPATH .:*:actors:actors/* +ENV TAPIS_API=actors-api +ENV PYTHONPATH=.:*:actors:actors/* WORKDIR /home/tapis ## PACKAGE INITIALIZATION diff --git a/entry.sh b/entry.sh index ab2ed35a..f65fcb7c 100644 --- a/entry.sh +++ b/entry.sh @@ -34,6 +34,4 @@ elif [ $api = "mes" ]; then else cd /home/tapis/actors; /usr/local/bin/gunicorn --workers $processes --threads $threads --timeout $timeout -b :5000 message_api:app fi -fi - -while true; do sleep 86400; done +fi \ No newline at end of file