FROM python:3.10-bullseye # 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/ CMD ["python", "-u", "run.py"]