Prajwal1618/Earthquake_Detection
0
1# Use official lightweight Python image2FROM python:3.10-slim3 4# Set environment variables5ENV PYTHONDONTWRITEBYTECODE=1 \6 PYTHONUNBUFFERED=17 8# Set working directory9WORKDIR /app10 11# Install system dependencies12RUN apt-get update && apt-get install -y \13 ffmpeg \14 libsndfile1 \15 libsm6 \16 libxext6 \17 libgl1 \18 && rm -rf /var/lib/apt/lists/*19 20# Install Python dependencies21COPY requirements.txt .22RUN pip install --no-cache-dir -r requirements.txt23 24# Copy the app files25COPY . .26 27# Expose port for Flask28EXPOSE 786029 30# Run the application31CMD ["python", "app.py"]32 