Puchi01x/Court_Data_Fetcher_App
1
1# Use lightweight Python image2FROM python:3.10-slim3 4# Set environment5ENV PYTHONDONTWRITEBYTECODE 16ENV PYTHONUNBUFFERED 17 8# Install dependencies9RUN apt-get update && apt-get install -y \10 wget curl unzip gnupg2 \11 fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libcups2 \12 libdbus-1-3 libgdk-pixbuf2.0-0 libnspr4 libnss3 libx11-xcb1 \13 libxcomposite1 libxdamage1 libxrandr2 xdg-utils libu2f-udev \14 libvulkan1 libxss1 libappindicator3-1 libgbm1 xvfb \15 && rm -rf /var/lib/apt/lists/*16 17# Set working directory18WORKDIR /app19 20# Copy files21COPY . /app22 23# Install Python dependencies24RUN pip install --upgrade pip25RUN pip install --no-cache-dir -r requirements.txt26 27# Run the app28CMD ["python", "app.py"]29 