fix: requirements.txt updated
fix: removed version attribute from docker-compose.yml fix: Dockerfile more correct
This commit is contained in:
@@ -5,7 +5,7 @@ WORKDIR /app
|
|||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
python3-venv \
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir --default-timeout=100 -r requirements.txt
|
RUN pip install --no-cache-dir --default-timeout=100 -r requirements.txt
|
||||||
|
|||||||
@@ -1,12 +1,6 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
whisper-app:
|
whisper-app:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "9854:9854"
|
- "9854:9854"
|
||||||
volumes:
|
|
||||||
- ./keys.txt:/app/keys.txt
|
|
||||||
- /tmp:/tmp
|
|
||||||
command: ["python", "app.py"]
|
command: ["python", "app.py"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
fastapi
|
fastapi
|
||||||
uvicorn[standard]
|
uvicorn[standard]
|
||||||
python-multipart
|
python-multipart
|
||||||
openai-whisper
|
gigaam
|
||||||
ffmpeg-python
|
ffmpeg-python
|
||||||
PyYAML
|
PyYAML
|
||||||
numpy<2.0.0
|
numpy<2.0.0
|
||||||
Reference in New Issue
Block a user