meshcraftstudio/meshcraftclone
0
1FROM python:3.10-slim2 3WORKDIR /app4 5# System dependencies for audio + TTS6RUN apt-get update && apt-get install -y \7 ffmpeg \8 git \9 && rm -rf /var/lib/apt/lists/*10 11# Python dependencies12COPY requirements.txt .13RUN pip install --no-cache-dir -r requirements.txt14 15# App code16COPY . .17 18# Hugging Face exposes PORT (default 7860); use it19ENV PORT=786020EXPOSE 786021 22CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port ${PORT:-7860}"]