feat: Add .gitattributes to enforce LF line endings

This commit is contained in:
2025-09-20 01:03:29 +02:00
parent 81d835acc8
commit 64b7dda909
4 changed files with 6 additions and 4 deletions
+3
View File
@@ -0,0 +1,3 @@
* text=auto
*.sh eol=lf
+1 -1
View File
@@ -55,7 +55,7 @@ COPY --from=builder /usr/local/lib/python3.11/site-packages/ /usr/local/lib/pyth
COPY --from=builder /app/led_matrix_application /app/
COPY --from=builder /app/rgbmatrix /app/rgbmatrix
COPY entry.sh /usr/bin/entry.sh
COPY src/entry.sh /usr/bin/entry.sh
COPY src/led_matrix_application/run_setup_mode.py /app/led_matrix_application/run_setup_mode.py
COPY ui/ /app/ui
+2 -3
View File
@@ -30,7 +30,6 @@ COPY src/pyproject.toml src/poetry.lock* ./
RUN poetry lock && poetry install --no-root
COPY src/ .
COPY entry.sh /usr/bin/entry.sh
RUN chmod +x /usr/bin/entry.sh
RUN chmod +x /app/entry.sh
CMD ["/usr/bin/entry.sh"]
CMD ["/app/entry.sh"]
View File