Merge branch 'dockerize' into 'master'

Dockerize the app
master
Itamar Ostricher 9 years ago
commit 42a7cd756d

@ -0,0 +1,13 @@
FROM python:2.7
# Install xmlsec1
RUN echo 'deb http://mirror.isoc.org.il/pub/ubuntu/ trusty main universe' >> /etc/apt/sources.list && \
apt-get update && \
apt-get -y --no-install-recommends install xmlsec1
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
CMD python app.py
Loading…
Cancel
Save