piranaware_version3 / Dockerfile
ashandilgith's picture
cloud version
469f89c
raw
history blame contribute delete
480 Bytes
# Use Python 3.9 (Stable for TensorFlow)
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Install audio libraries required by Librosa
RUN apt-get update && apt-get install -y \
libsndfile1 \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Copy your files
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Run Streamlit on Port 7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]