This repository has been archived by the owner. It is now read-only.
Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 404 Bytes
FROM ubuntu:trusty
MAINTAINER Jessica Frazelle <github.com/jfrazelle>
# install dependencies
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq \
python-pip \
--no-install-recommends
# add the source
COPY . /src
# install requirements
RUN cd /src; pip install -U gunicorn
RUN cd /src; pip install -r ./requirements.txt
WORKDIR /src
CMD gunicorn -b 0.0.0.0:5000 app:app