From 727e7adeccf2372516cbf4795110c514f9e3e7c7 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Wed, 4 Mar 2026 10:17:46 +0000 Subject: [PATCH] fix(entrypoint): convert CRLF to LF to fix Docker execution exec ./entrypoint.sh: no such file or directory was caused by Windows-style line endings making the shebang unresolvable. Also add .gitattributes to enforce LF for shell scripts. Co-Authored-By: Claude Sonnet 4.6 --- .gitattributes | 2 ++ backend/entrypoint.sh | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..efdba87 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +* text=auto +*.sh text eol=lf diff --git a/backend/entrypoint.sh b/backend/entrypoint.sh index ebe3920..ccc7b5a 100644 --- a/backend/entrypoint.sh +++ b/backend/entrypoint.sh @@ -1,6 +1,6 @@ -#!/bin/bash -set -e -echo "[entrypoint] Running database seed..." -python seed_db.py -echo "[entrypoint] Starting application..." -exec "$@" +#\!/bin/bash +set -e +echo "[entrypoint] Running database seed..." +python seed_db.py +echo "[entrypoint] Starting application..." +exec "$@"