Dockerfile 356 Bytes
FROM python:2

RUN apt-get update
RUN apt-get install -y python-dev libsasl2-dev libldap2-dev libssl-dev build-essential nodejs npm &&\
      npm install -g less@3


WORKDIR /usr/src/odoo

COPY . .
RUN pip install --no-cache-dir -r ./odoo/requirements.txt
RUN pip install psycopg2==2.7.3.2
RUN pip install --no-cache-dir numpy simplejson XlsxWriter pysftp