Dockerfile 297 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
FROM debian

# Install Python Setuptools
RUN apt-get update && apt-get install -y python-pip ca-certificates --no-install-recommends

# Bundle app source
ADD . /src

# Install test requirements
RUN pip install mock ansicolors

# Initialize app environment
WORKDIR /src
RUN python setup.py install