chore: restructure Dockerfile and move entrypoint to root

This commit is contained in:
2026-05-25 19:55:21 +02:00
parent 76a92894e8
commit 53abdace1c
4 changed files with 28 additions and 17 deletions

12
entrypoint.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
set -e
: "${DATABASE_FILE:=/app/data/mal.db}"
if [ ! -x /app/main_server ]; then
echo "ERROR: /app/main_server not found or not executable" >&2
exit 1
fi
exec /app/main_server