diff --git a/Dockerfile b/Dockerfile index d78ae68..2f7749a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app RUN apt-get update && apt-get install -y \ ffmpeg \ python3-pip \ - && rm -rf /var/lib/apt/lists/* + python3-venv \ COPY requirements.txt . RUN pip install --no-cache-dir --default-timeout=100 -r requirements.txt diff --git a/docker-compose.yml b/docker-compose.yml index 31db88c..cbc6f67 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,6 @@ -version: '3.8' - services: whisper-app: build: . ports: - "9854:9854" - volumes: - - ./keys.txt:/app/keys.txt - - /tmp:/tmp command: ["python", "app.py"] - diff --git a/requirements.txt b/requirements.txt index 7492a97..dda53b3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ fastapi uvicorn[standard] python-multipart -openai-whisper +gigaam ffmpeg-python PyYAML numpy<2.0.0 \ No newline at end of file