addons-server/Dockerfile

15 строки
668 B
Docker
Исходник Обычный вид История

2014-10-01 15:44:44 +04:00
FROM python:2.7
RUN apt-get update
RUN apt-get install -y python-dev python-virtualenv libxml2-dev libxslt1-dev libmysqlclient-dev memcached libssl-dev swig openssl curl libjpeg-dev zlib1g-dev libsasl2-dev nodejs npm mysql-client
RUN ln -s /usr/bin/nodejs /usr/bin/node
WORKDIR /code
ADD . /code
RUN pip install --no-deps --exists-action=w --download-cache=/tmp/pip-cache -r requirements/dev.txt --find-links https://pyrepo.addons.mozilla.org/ --src=/pip-src/
RUN pip install --no-deps --exists-action=w --download-cache=/tmp/pip-cache -r requirements/docs.txt --find-links https://pyrepo.addons.mozilla.org/ --src=/pip-src/
RUN npm install
2014-10-01 15:44:44 +04:00
RUN make update_assets