FROM python:3.10-bullseye RUN apt update && apt upgrade # This hack is widely applied to avoid python printing issues in docker containers. # See: https://github.com/Docker-Hub-frolvlad/docker-alpine-python3/pull/13 ENV PYTHONUNBUFFERED=1 ADD device_supervisor ./device_supervisor WORKDIR ./device_supervisor/ RUN python setup.py