Skip to content

Commit

Permalink
Update Dockerfile. Get rid of sleep after fail in entry.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
NotChristianGarcia committed Nov 5, 2024
1 parent 23153f4 commit da3807d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit da3807d

Please sign in to comment.