Dockerfile 447 B

123456789101112131415161718
  1. # Using official python runtime base image
  2. FROM python:2.7
  3. # Set the application directory
  4. WORKDIR /app
  5. # Install our requirements.txt
  6. ADD requirements.txt /app/requirements.txt
  7. RUN pip install -r requirements.txt
  8. # Copy our code from the current folder to /app inside the container
  9. ADD . /app
  10. # Make port 5000 available for links and/or publish
  11. EXPOSE 80
  12. # Define our command to be run when launching the container
  13. CMD ["python", "app.py"]