mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
parent
6f5b045c2e
commit
e123566f1b
@ -1,4 +1,14 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
VERSION=1.0.0
|
||||||
|
CURRENT_VERSION=$(cat /tas_version)
|
||||||
|
|
||||||
|
if [ "$VERSION" != "$CURRENT_VERSION" ]; then
|
||||||
|
echo "Wrong docker image version, expected $VERSION, got $CURRENT_VERSION, please run docker compose pull!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
composer install
|
||||||
|
|
||||||
docker-compose-wait \
|
docker-compose-wait \
|
||||||
&& nice -n 20 php server.php -e=.env.docker --docker "$@"
|
&& nice -n 20 php server.php -e=.env.docker --docker "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user