diff --git a/bin/docker-build.sh b/bin/docker-build.sh new file mode 100755 index 0000000..e595790 --- /dev/null +++ b/bin/docker-build.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" + +docker buildx build --platform linux/amd64,linux/arm64 -t xtrime/telegram-api-server:latest --push "$SCRIPT_DIR/../" \ No newline at end of file diff --git a/bin/docker-exec.sh b/bin/docker-exec.sh index fd2552c..94360ff 100755 --- a/bin/docker-exec.sh +++ b/bin/docker-exec.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash docker exec -it telegram-api-server /bin/bash \ No newline at end of file diff --git a/bin/docker-logs.sh b/bin/docker-logs.sh index aa53e6f..af897f8 100755 --- a/bin/docker-logs.sh +++ b/bin/docker-logs.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash docker logs telegram-api-server --follow \ No newline at end of file