From bdffb17505e80429d98b5337feb8ec1055383663 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Sat, 6 Dec 2025 21:31:32 -0800 Subject: [PATCH] fix: backend container fails with missing entrypoint when built locally --- .gitattributes | 28 +++++++++++++++++++ .../scripts/docker/entrypoint.sh | 1 - 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..172557fcc --- /dev/null +++ b/.gitattributes @@ -0,0 +1,28 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Force LF line endings for shell scripts (critical for Docker/Linux) +*.sh text eol=lf + +# Force LF for other scripts and config files commonly used in containers +*.bash text eol=lf +*.zsh text eol=lf +Dockerfile text eol=lf +Makefile text eol=lf +*.yml text eol=lf +*.yaml text eol=lf + +# Denote all files that are truly binary and should not be modified +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.tar binary +*.woff binary +*.woff2 binary +*.ttf binary +*.eot binary diff --git a/surfsense_backend/scripts/docker/entrypoint.sh b/surfsense_backend/scripts/docker/entrypoint.sh index 969970541..37f5c7e74 100644 --- a/surfsense_backend/scripts/docker/entrypoint.sh +++ b/surfsense_backend/scripts/docker/entrypoint.sh @@ -36,4 +36,3 @@ wait -n # If we get here, one process exited, so exit with its status exit $? -