radiacode_docker_usb/Dockerfile

8 lines
256 B
Docker
Raw Normal View History

2023-07-04 19:57:54 +03:00
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"]