Merge pull request #7426 from philipcristiano/pc/docker
docker: Include uwsgi
This commit is contained in:
Коммит
241d52fce4
|
@ -34,6 +34,7 @@ RUN apt-get update && apt-get install -y \
|
|||
python-pip \
|
||||
nodejs \
|
||||
npm \
|
||||
uwsgi \
|
||||
# Git, because we're using git-checkout dependencies
|
||||
git \
|
||||
# Dependencies for mysql-python
|
||||
|
@ -62,6 +63,9 @@ RUN pip install --no-cache-dir --exists-action=w --no-deps -r requirements/syste
|
|||
&& pip install --no-cache-dir --exists-action=w --no-deps -r requirements/prod_without_hash.txt\
|
||||
&& pip install --no-cache-dir --exists-action=w --no-deps -e .
|
||||
|
||||
# Link /usr/sbin/uwsgi and /usr/bin/uwsgi to deal with migration from Centos -> Debian
|
||||
RUN ln -s /usr/bin/uwsgi /usr/sbin/uwsgi
|
||||
|
||||
RUN echo "from olympia.lib.settings_base import *\n\
|
||||
STYLUS_BIN = 'node_modules/stylus/bin/stylus'\n\
|
||||
LESS_BIN = 'node_modules/less/bin/lessc'\n\
|
||||
|
|
Загрузка…
Ссылка в новой задаче