1 Star 0 Fork 0

TomoyoYoshikawa/paper_search

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
BirdChristopher 提交于 2021-12-23 16:40 . port
FROM python:3.6
ENV PYTHONUNBUFFERED 1
#RUN echo "http://mirrors.aliyun.com/alpine/v3.8/main/" > /etc/apk/repositories
#RUN echo "http://mirrors.aliyun.com/alpine/v3.8/community/" >> /etc/apk/repositories
RUN apt-get upgrade
RUN apt-get update
RUN apt-get install -y gcc make python-dev libc-dev libxml2-dev libssl-dev libffi-dev
WORKDIR /app
RUN mkdir /app/log
RUN touch /app/log/uwsgi.log
RUN touch /app/log/uwsgi.pid
#RUN pip install pipenv -i https://pypi.douban.com/simple
COPY xjl/paper_search/requirements.txt /app/requirements.txt
COPY xjl/paper_search/Pipfile /app/Pipfile
COPY xjl/paper_search/Pipfile.lock /app/Pipfile.lock
COPY xjl/paper_search/uwsgi.ini /app/uwsgi.ini
#RUN apk upgrade musl
#RUN pip install pipenv -i https://pypi.douban.com/simple
#RUN pipenv install -r requirements.txt
RUN pip config set global.index-url http://mirrors.aliyun.com/pypi/simple
RUN pip config set install.trusted-host mirrors.aliyun.com
RUN pip install -r requirements.txt
RUN virtualenv --system-site-package /app/Django-venv
COPY xjl/paper_search/paper_search/* /app/Django/paper_search/
COPY xjl/paper_search/esearch/* /app/Django/esearch/
COPY xjl/paper_search/manage.py /app/Django/manage.py
COPY xjl/paper_search/uwsgi.ini /app/uwsgi.ini
COPY xjl/paper_search/start.sh /app/start.sh
EXPOSE 8003
RUN chmod +x /app/start.sh
EXPOSE 9003
WORKDIR /app/Django
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kichiryokushederay/paper_search.git
git@gitee.com:kichiryokushederay/paper_search.git
kichiryokushederay
paper_search
paper_search
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385