FROM python:3.7.15-slim WORKDIR ./sensor_alarm ADD . . RUN pip install -r requirements.txt CMD ["python", "-u","./main.py"]