# Use Python slim image FROM python:3.10-slim # Install build dependencies RUN apt-get update \ && apt-get install -y gcc clang libdbus-1-dev meson \ && rm -rf /var/lib/apt/lists/* # Clean up # Set the working directory WORKDIR /app # Copy the application files COPY . /app # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose the port the app runs on EXPOSE 5000 # Command to run the app CMD ["python", "App.py"]