无法启动uwsgi作为docker中的服务

时间:2017-04-26 09:30:41

标签: docker uwsgi

1)我已将我的demo.ini文件复制到/etc/uwsgi/app-enabled/demo.ini

2)我已经安装了包apt-get install uwsgi-plugin-python

3)在demi.ini文件中添加了plugins = python 现在当我点击命令sudo service uwsgi status它显示输出?

FROM base_image 
RUN apt-get -y install uwsgi 
COPY workspace /home/nt/workspace 
RUN ln -s /home/nt/workspace/backend.conf /etc/nginx/sites-enabled/backend.conf 
RUN ln -s /home/nt/workspace/nti-backend/environment/development.ini /etc/uwsgi/apps-enabled/ 
RUN pip install -r /home/nt/workspace/nti-backend/requirements.txt 
ENTRYPOINT sh /home/nt/workspace/startup.sh && /bin/bash

0 个答案:

没有答案