Update .gitignore to include .flac files, remove docker-compose.yml, modify batch_confirm_hf.py for improved error handling and dataset upload logic, and adjust Dockerfile paths for service code and model directory.

This commit is contained in:
Alireza
2025-08-02 12:21:28 +03:30
parent 640363fef2
commit d16f4a84bb
4 changed files with 47 additions and 49 deletions

View File

@@ -8,14 +8,14 @@ RUN apt-get update && apt-get install -y \
WORKDIR /app
# Install Python dependencies
COPY requirements.txt ./
COPY vosk_service/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Copy service code
COPY app.py ./
COPY vosk_service/app.py ./
# Copy model directory
COPY model/ ./model/
COPY vosk-model-fa-0.42/ ./model/
EXPOSE 5000