# Python base image use karenge FROM python:3.9-slim # Root user USER root # 1. Install Java (Required for Jadx) & Utilities RUN apt-get update && \ apt-get install -y default-jdk wget unzip zip && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* # 2. Install JADX (The Decompiler) WORKDIR /opt # Jadx ka stable version download kar rahe hain RUN wget https://github.com/skylot/jadx/releases/download/v1.4.7/jadx-1.4.7.zip -O jadx.zip && \ unzip jadx.zip -d jadx && \ rm jadx.zip # Add Jadx to System Path ENV PATH="/opt/jadx/bin:${PATH}" # 3. Setup Python App WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # Permissions RUN chmod -R 777 /app # Expose Port EXPOSE 7860 # Run Flask CMD ["python", "app.py"]