| 123456789101112131415161718 | # Using official python runtime base imageFROM python:2.7-alpine# Set the application directoryWORKDIR /app# Install our requirements.txtADD requirements.txt /app/requirements.txtRUN pip install -r requirements.txt# Copy our code from the current folder to /app inside the containerADD . /app# 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"]
 |