添加部署文件
This commit is contained in:
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
# 使用 Python 3.12 slim 镜像
|
# 使用 Python 3.12 slim 镜像
|
||||||
FROM python:3.12-slim
|
# 必须固定 bookworm(Debian 12):
|
||||||
|
# 1. 下面的 sources.list 写的是 bookworm,python:3.12-slim 已滚动到 trixie(Debian 13),混用会导致包名找不到
|
||||||
|
# 2. Playwright 1.49 的支持列表里没有 Debian 13,install --with-deps 探测到未知发行版会直接失败
|
||||||
|
FROM python:3.12-slim-bookworm
|
||||||
|
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
ENV ENV=prod
|
ENV ENV=prod
|
||||||
|
|||||||
Reference in New Issue
Block a user