# Use a base imageFROM python:3.9-slim# Maintainer label (optional)LABEL maintainer="Srinath Thilakarathne <srinath@example.com>"# Set environment variablesENV PYTHONDONTWRITEBYTECODE=1ENV PYTHONUNBUFFERED=1# Set the working directoryWORKDIR /usr/src/app# Copy project filesCOPY requirements.txt /usr/src/app/COPY . /usr/src/app/# Install dependenciesRUN pip install --no-cache-dir -r requirements.txt# Expose the application portEXPOSE 5000ENTRYPOINT ["executable", "param1"]# Command to run the applicationCMD ["python", "app.py"]