reformat again
This commit is contained in:
+1
-3
@@ -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 src/entry.sh /usr/bin/entry.sh
|
||||
COPY 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
|
||||
|
||||
@@ -63,6 +63,4 @@ RUN chmod +x /usr/bin/entry.sh
|
||||
|
||||
ENV DBUS_SYSTEM_BUS_ADDRESS unix:path=/host/run/dbus/system_bus_socket
|
||||
|
||||
RUN sed -i 's/\r$//' /usr/bin/entry.sh
|
||||
|
||||
CMD ["/usr/bin/entry.sh"]
|
||||
+4
-5
@@ -29,9 +29,8 @@ COPY src/pyproject.toml src/poetry.lock* ./
|
||||
|
||||
RUN poetry lock && poetry install --no-root
|
||||
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
COPY src/ .
|
||||
COPY entry.sh /usr/bin/entry.sh
|
||||
RUN chmod +x /usr/bin/entry.sh
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
||||
CMD ["/app/entry.sh"]
|
||||
CMD ["/usr/bin/entry.sh"]
|
||||
Reference in New Issue
Block a user