Merge pull request #10735 from diox/fix-stage-deploy
Symlink uwsgi to its old path in python2 Dockerfile too
This commit is contained in:
Коммит
f2c882215e
|
@ -72,6 +72,10 @@ 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_py2.txt \
|
||||
&& pip install --no-cache-dir --exists-action=w --no-deps -e .
|
||||
|
||||
# Link /usr/bin/uwsgi to /usr/local/bin/uwsgi, as that was the
|
||||
# previous location of the binary when installed by apt-get.
|
||||
RUN ln -s /usr/local/bin/uwsgi /usr/bin/uwsgi
|
||||
|
||||
# Install uwsgi statsd exporter to collect metrics from uwsgi when deployed
|
||||
WORKDIR /usr/lib/uwsgi/plugins
|
||||
RUN uwsgi --build-plugin https://github.com/Datadog/uwsgi-dogstatsd && \
|
||||
|
|
Загрузка…
Ссылка в новой задаче