Files
event-audio-recorder/Dockerfile
T
2026-09-28 16:20:20 +02:00

18 lines
372 B
Docker

FROM python:3.13-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir \
flask \
requests \
gunicorn
WORKDIR /app
COPY recorder.py .
EXPOSE 8080
CMD ["gunicorn", "--bind", "0.0.0.0:8080", "--workers", "1", "--threads", "4", "--timeout", "0", "recorder:app"]