9 Star 50 Fork 2

co0ontty / Mario

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 536 Bytes
一键复制 编辑 原始数据 按行查看 历史
co0ontty 提交于 2020-09-14 16:17 . 支持保存 http_body
FROM co0ontty/ubuntu:16.04
COPY ./ /Mario/
RUN apt update && \
apt install -y python3 python3-pip git curl nginx && \
cp /Mario/ThirPath/web/default /etc/nginx/sites-enabled/ && \
tar -zxvf /Mario/ThirPath/web/dist.tar.gz -C /var/www/html/ && \
pip3 install -i https://pypi.doubanio.com/simple/ -r /Mario/requirements.txt && \
echo "service nginx restart && cd /Mario/uwsgi && uwsgi uwsgi.ini && tail -f /var/log/nginx/access.log" > /etc/start.sh && \
chmod +x /etc/start.sh
CMD [ "sh","-c","/etc/start.sh" ]
Python
1
https://gitee.com/co0ontty/Mario.git
git@gitee.com:co0ontty/Mario.git
co0ontty
Mario
Mario
master

搜索帮助