musicapi / Dockerfile
sam12345324's picture
Update Dockerfile
33d807b verified
raw
history blame contribute delete
314 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY . /app
RUN apt-get update && apt-get install -y build-essential libatlas-base-dev && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r requirements.txt
ENV GEMINI_API_KEY=${GEMINI_API_KEY}
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--timeout", "120", "app:app"]