| 1234567891011121314151617181920212223 | # Using official python runtime base imageFROM python:3.11-slim# add curl for healthcheckRUN apt-get update && \    apt-get install -y --no-install-recommends curl && \    rm -rf /var/lib/apt/lists/*# Set the application directoryWORKDIR /usr/local/app# Install our requirements.txtCOPY requirements.txt ./requirements.txtRUN pip install --no-cache-dir -r requirements.txt# Copy our code from the current folder to the working directory inside the containerCOPY . .# Make port 80 available for links and/or publishEXPOSE 80# Define our command to be run when launching the containerCMD ["gunicorn", "app:app", "-b", "0.0.0.0:80", "--log-file", "-", "--access-logfile", "-", "--workers", "4", "--keep-alive", "0"]
 |