Skip to content

Commit

Permalink
Merge pull request #8 from ckaytev/turbo-model
Browse files Browse the repository at this point in the history
 Support for new turbo model
  • Loading branch information
ckaytev authored Jan 3, 2025
2 parents ecdaa22 + df8e4d5 commit 19e34a0
Show file tree
Hide file tree
Showing 5 changed files with 914 additions and 969 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ FROM python:3.10.11-slim

ENV POETRY_VENV=/app/.venv

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app

RUN python3 -m venv $POETRY_VENV \
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& rm -rf /var/lib/apt/lists/* \
&& python3 -m venv $POETRY_VENV \
&& $POETRY_VENV/bin/pip install poetry

ENV PATH="${PATH}:${POETRY_VENV}/bin"

WORKDIR /app

COPY . /app
COPY poetry.lock pyproject.toml ./

RUN poetry install

COPY tgisper ./tgisper

ENTRYPOINT ["poetry", "run", "tgisper"]
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.4"

services:
tgisper:
build:
Expand All @@ -13,4 +11,4 @@ services:
restart: always

volumes:
cache:
cache:
Loading

0 comments on commit 19e34a0

Please sign in to comment.