1 Star 0 Fork 9

孙英杰/LZU-Auto-COVID-Health-Report

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
Hollow Man 提交于 2021-11-03 00:00 . Latest push
FROM python:3.9-slim
MAINTAINER Hollow Man <[email protected]>
LABEL version="1.2.10"
LABEL repository="https://github.com/HollowMan6/LZU-Auto-COVID-Health-Report"
LABEL homepage="https://hollowman.ml/"
LABEL maintainer="Hollow Man <[email protected]>"
COPY entrypoint.sh /entrypoint.sh
COPY LZU-Auto-COVID-Health-Report.py /LZU-Auto-COVID-Health-Report.py
COPY Notify-Result.py /Notify-Result.py
COPY cover.jpg /cover.jpg
COPY requirements-run.txt /requirements.txt
ENV TZ Asia/Shanghai
RUN pip install --upgrade --no-cache-dir pip && if [ "x86_64" = "`arch`" ] || [ "aarch64" = "`arch`" ] || [ "i386" = "`arch`" ]; then \
pip install --no-cache-dir -r /requirements.txt; if [ ! "$?" = "0" ]; then apt-get update \
&& apt-get install -y \
rustc \
libffi-dev \
libssl-dev \
&& pip install --no-cache-dir -r /requirements.txt \
&& apt-get --purge remove -y \
rustc \
libffi-dev \
&& apt-get autoremove -y \
&& apt-get clean; fi; else \
apt-get update \
&& apt-get install -y \
libxml2 \
libxslt1-dev \
gcc \
zlib1g-dev \
libffi-dev \
libssl-dev \
rustc \
&& pip install --no-cache-dir -r /requirements.txt \
&& apt-get --purge remove -y \
libxml2 \
libxslt1-dev \
gcc \
zlib1g-dev \
manpages \
libffi-dev \
rustc \
&& apt-get autoremove -y \
&& apt-get install -y \
libxslt1.1 \
&& apt-get clean; fi
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zhehua666/LZU-Auto-COVID-Health-Report.git
[email protected]:zhehua666/LZU-Auto-COVID-Health-Report.git
zhehua666
LZU-Auto-COVID-Health-Report
LZU-Auto-COVID-Health-Report
main

搜索帮助