2 Star 1 Fork 0

勿幕/XApiTest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 866 Bytes
一键复制 编辑 原始数据 按行查看 历史
勿幕 提交于 2023-03-08 15:15 . update:login type
FROM ubuntu:16.04
ENV LANG C.UTF-8
ENV TZ=Asia/Shanghai
# Install required packages and remove the apt packages cache when done.
RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list && \
apt-get clean && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
python3 \
python3-dev \
python3-setuptools \
python3-pip \
libmysqlclient-dev \
nginx \
python3-dateutil \
tzdata && \
dpkg-reconfigure --frontend noninteractive tzdata
WORKDIR /opt/workspace/xapitest/
COPY xapitest.sh .
COPY manage.py .
COPY uwsgi.ini .
COPY requirements.txt .
RUN pip3 install -r ./requirements.txt -i \
https://pypi.douban.com/simple \
--default-timeout=100
EXPOSE 5000
CMD bash ./xapitest.sh
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/flyincyclone/XApiTest.git
git@gitee.com:flyincyclone/XApiTest.git
flyincyclone
XApiTest
XApiTest
master

搜索帮助