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 <noreply@anthropic.com>
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
* text=auto
|
||||||
|
*.sh text eol=lf
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#\!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
echo "[entrypoint] Running database seed..."
|
echo "[entrypoint] Running database seed..."
|
||||||
python seed_db.py
|
python seed_db.py
|
||||||
echo "[entrypoint] Starting application..."
|
echo "[entrypoint] Starting application..."
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user