improve docker build and wait for memcached

This commit is contained in:
2022-06-07 12:29:40 +02:00
parent 1d55d7f2d2
commit 9029f72a02
3 changed files with 37 additions and 18 deletions

11
entry.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/ash
echo "Waiting for memcached"
while ! nc -z -w 1 memcached 11211; do
sleep 1
echo "..."
done
echo "Starting server"
/app/cryptgeon