FROM python:3.12-bookworm RUN apt-get update \ && apt-get install -y --no-install-recommends git ffmpeg \ && rm -rf /var/lib/apt/lists/* WORKDIR /skynet RUN git clone --depth 1 https://github.com/jitsi/skynet.git . RUN pip install --no-cache-dir poetry \ && poetry config virtualenvs.create false \ && poetry install --no-interaction --no-ansi ENV ENABLED_MODULES=streaming_whisper ENV BYPASS_AUTHORIZATION=1 ENV WHISPER_MODEL_NAME=tiny ENV WHISPER_MODEL_PATH=/models/streaming-whisper ENV BEAM_SIZE=1 EXPOSE 8000 VOLUME ["/models"] CMD ["poetry", "run", "./run.sh"]