sonaria / Dockerfile
laurentthomas's picture
Create Dockerfile
26deca3 verified
Raw History Blame Contribute Delete
287 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir birdnet-analyzer fastapi uvicorn python-multipart
WORKDIR /app
COPY app.py .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]