Use events and commands to control custom onboard leds and buttons. Can be used to communicate with an external Python script via a WebSocket API running in a container alongside LVA.
13 lines
270 B
Docker
13 lines
270 B
Docker
FROM ghcr.io/astral-sh/uv:python3.14-bookworm
|
|
|
|
ENV UV_COMPILE_BYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
RUN apt-get update && apt-get install -y wireplumber libhidapi-dev python3-hidapi python3-hid wireplumber
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
RUN uv sync --locked
|
|
|
|
CMD uv run main.py |