bbb-status/Dockerfile

13 lines
293 B
Docker

FROM python:3.8-alpine
WORKDIR /usr/src/
COPY requirements.txt ./
RUN pip3 install --no-cache-dir -r requirements.txt
COPY ./src/ ./
RUN chmod +x ./logMeetingData.py
# unbuffered output option otherwise script sleeps before any output appears
CMD [ "python", "-u", "./logMeetingData.py" ]