chore(dependencies): update Bun lockfile and package configuration

- Update bun.lock with latest package versions
- Modify Dockerfile to improve dependency installation
- Remove preinstall script from package.json
- Add winston logging dependencies
- Adjust Docker build process for cleaner dependency management
This commit is contained in:
jango-blockchained
2025-02-04 21:42:50 +01:00
parent 905339fb67
commit e1db799b1d
6 changed files with 183 additions and 139 deletions

View File

@@ -13,6 +13,7 @@ RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
# Install Python dependencies with specific versions and CPU-only variants
RUN pip install --no-cache-dir numpy==1.24.3
RUN pip install --no-cache-dir torch==2.1.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu
RUN pip install --no-cache-dir faster-whisper==0.10.0 openwakeword==0.4.0 pyaudio==0.2.14 sounddevice==0.4.6

View File

@@ -31,7 +31,6 @@ class AudioProcessor:
def __init__(self):
# Initialize wake word detection model
self.wake_word_model = Model(
custom_model_paths=None, # Use default models
inference_framework="onnx" # Use ONNX for better performance
)