# ============================================================================= # FASHIONISTAR — .gitattributes # Ensures shell scripts and Python files always use LF line endings # even when developed on Windows. This prevents "sh: 1: api: not found" # errors caused by CRLF contamination on Linux containers. # ============================================================================= # Default: text files use LF (Linux standard) * text=auto eol=lf # Shell scripts — ALWAYS LF, never CRLF *.sh text eol=lf *.bash text eol=lf entrypoint.sh text eol=lf install.sh text eol=lf # Python — LF *.py text eol=lf # Docker — LF Dockerfile text eol=lf Dockerfile.* text eol=lf *.dockerfile text eol=lf # Config files — LF *.yml text eol=lf *.yaml text eol=lf *.toml text eol=lf *.cfg text eol=lf *.ini text eol=lf *.env text eol=lf *.env.* text eol=lf gunicorn.conf.py text eol=lf # Markdown — LF *.md text eol=lf # JSON — LF *.json text eol=lf # Binary files — no conversion *.png binary *.jpg binary *.jpeg binary *.gif binary *.webp binary *.ico binary *.ttf binary *.woff binary *.woff2 binary *.eot binary *.zip binary *.gz binary *.tar binary *.sqlite3 binary *.db binary