8 lines
256 B
Docker
8 lines
256 B
Docker
|
FROM python:3.11-bullseye
|
||
|
WORKDIR /app
|
||
|
RUN apt-get update && apt-get install -y libglib2.0-dev usbutils
|
||
|
RUN pip3 install 'radiacode[examples]' --upgrade
|
||
|
RUN apt-get install -y libusb-1.0-0-dev
|
||
|
COPY . .
|
||
|
RUN pip3 install pyusb
|
||
|
CMD ["python3", "webserver.py"]
|