ailuropoda/Dockerfile
JJ Asghar 4c320ad883 Adding Dockerfile
- Adds Dockerfile to help deployment
- Updated README

Change-Id: Ia93a83083a89e9e6ad1a958dc67ac90ef27cae5a
2016-06-02 11:03:12 -05:00

26 lines
536 B
Docker

# Dockerfile for ailuropoda
# Created 2016-06-02
# Author: JJ Asghar <jj@chef.io>
#
# Pull down a standard python container
FROM python:2.7.11-alpine
# Create the place for the application
RUN mkdir -p /usr/src/app
# Do your work in that place
WORKDIR /usr/src/app
# Copy the requirements.txt to get dependencies
COPY requirements.txt /usr/src/app/
# Get the dependencies
RUN pip install -v -r requirements.txt
# Copy the file into the working directory
COPY . /usr/src/app
# Make the pandas cry
CMD [ "python", "./main.py" ]