# Dockerfile # Instructions to build the Docker image for our OIDC Bridge application. # Start with a lightweight Python base image. FROM python:3.9-slim # Set the working directory inside the container. WORKDIR /app # Copy the requirements file to install dependencies. COPY requirements.txt . # Install the Python packages. RUN pip install --no-cache-dir -r requirements.txt # Create a 'templates' directory for the status page HTML RUN mkdir templates # Copy the main application file and the templates. COPY app.py . COPY templates/status.html ./templates/ # Expose the port the Flask app will run on. EXPOSE 5000 # The command to run the application when the container starts. CMD ["python", "-u", "app.py"]