调整验证码图片大小
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
FROM python:3.10-slim
|
||||
|
||||
# 系统依赖(python-magic 需要 libmagic)
|
||||
# 系统依赖(python-magic 需要 libmagic,验证码需要清晰字体)
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends libmagic1 && \
|
||||
apt-get install -y --no-install-recommends libmagic1 fonts-dejavu-core && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user