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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user