Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Latest commit

 

History

History
17 lines (13 loc) · 523 Bytes

File metadata and controls

17 lines (13 loc) · 523 Bytes

Docker 部署

  1. zzu_job 为cron定时任务,修改为你想要的时间

  2. vim config_custom 修改默认配置

    smtp:
        enable: false # 关闭邮件服务
    zzu:
        username: xxxxxxx # 你的学号
        password: xxxxxxx # 你的密码
  3. docker build -t zzu-helper:v1.0 . 构建镜像

  4. docker run -d zzu-helper:v1.0 运行容器

注: apk-requirements.txt是alpine的apk依赖,它和requirements.txt中的python依赖都会在构建镜像时安装进去。