chore: 基础设施 — 阿里云源、北京时间、HEX计数器、打印机配置

This commit is contained in:
2026-08-05 14:00:13 +08:00
parent 8458b99782
commit 82f474f71f
6 changed files with 91 additions and 2 deletions

View File

@ -5,6 +5,10 @@ FROM python:3.13-slim
WORKDIR /app
# 换阿里云源(国内网络加速)
RUN sed -i 's|http://deb.debian.org/debian|https://mirrors.aliyun.com/debian|g' /etc/apt/sources.list.d/debian.sources 2>/dev/null || \
sed -i 's|http://deb.debian.org/debian|https://mirrors.aliyun.com/debian|g' /etc/apt/sources.list 2>/dev/null || true
# 系统依赖(Pillow / cryptography 编译所需)
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \