Files
inventory_analytics/docker-entrypoint.sh
T
2026-04-29 14:06:41 +08:00

15 lines
164 B
Bash

#!/bin/sh
set -eu
APP_DIR="/app"
if [ -f "$APP_DIR/.env" ]; then
set -a
. "$APP_DIR/.env"
set +a
fi
mkdir -p "$APP_DIR/logs" "$APP_DIR/reports"
exec "$@"