Spaces:
Runtime error
Runtime error
Deploy v1.3.0: Dockerfile - Official Moshi PyTorch STT implementation
Browse files1 unmodified line2345678910111213142 unmodified lines1718192021222324251 unmodified lineWORKDIR /app# Install minimal system dependenciesRUN apt-get update && apt-get install -y \curl \&& rm -rf /var/lib/apt/lists/*# Copy requirements and install Python dependenciesCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt# Copy application2 unmodified lines# Expose portEXPOSE 7860# Simple health checkHEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 \CMD curl -f http://localhost:7860/health || exit 1# Run applicationCMD ["python", "app.py"]1 unmodified line2345678910111213141516172 unmodified lines2021222324252627281 unmodified lineWORKDIR /app# Install system dependencies needed for MoshiRUN apt-get update && apt-get install -y \curl \git \&& rm -rf /var/lib/apt/lists/*# Copy requirements and install Python dependenciesCOPY requirements.txt .# Install Moshi and dependenciesRUN pip install --no-cache-dir -r requirements.txt# Copy application2 unmodified lines# Expose portEXPOSE 7860# Health checkHEALTHCHECK --interval=30s --timeout=30s --start-period=180s --retries=3 \CMD curl -f http://localhost:7860/health || exit 1# Run applicationCMD ["python", "app.py"]
Dockerfile+7-4