Files
site/docker/docker-entrypoint.sh
Aleksander Cynarski 3438f8d405
Some checks failed
Docker - build image / 🏗️ Docker builder (latest from master) 🏗️ (push) Failing after 17s
add Docker and CI/CD pipeline with ledo
Configure Next.js static export with nginx serving, Dockerfile
(multi-stage build), docker-compose for prod/dev, Gitea Actions
pipelines for build-on-push and tag-based releases using ledo tool.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 23:49:15 +01:00

40 lines
660 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
shopt -s nullglob
#
# H E L P E R F U N C T I O N S
#
##################################
declare -i term_width=80
h1() {
declare border padding text
border='\e[1;34m'"$(printf '=%.0s' $(seq 1 "$term_width"))"'\e[0m'
padding="$(printf ' %.0s' $(seq 1 $(((term_width - $(wc -m <<<"$*")) / 2))))"
text="\\e[1m$*\\e[0m"
echo -e "$border"
echo -e "${padding}${text}${padding}"
echo -e "$border"
}
h2() {
printf '\e[1;33m==>\e[37;1m %s\e[0m\n' "$*"
}
#
# M A I N F U N C T I O N S
#
#################################
h1 "Project init"
###
### Your code here
###
h1 "End of init"
exec "$@"