feat: Add .gitattributes to enforce LF line endings
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
* text=auto
|
||||
|
||||
*.sh eol=lf
|
||||
+1
-1
@@ -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
@@ -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"]
|
||||
Reference in New Issue
Block a user