Skip to content

Commit

Permalink
build: 降低 Python 版本
Browse files Browse the repository at this point in the history
避免 TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'
  • Loading branch information
he0119 committed Jun 24, 2024
1 parent 92c9308 commit 4975936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12 as requirements-stage
FROM python:3.12.3 as requirements-stage

WORKDIR /tmp

Expand All @@ -12,7 +12,7 @@ ENV PATH="${PATH}:/root/.local/bin"

RUN poetry export -f requirements.txt --output requirements.txt --without-hashes

FROM python:3.12-slim
FROM python:3.12.3-slim

# 设置时区
ENV TZ=Asia/Shanghai
Expand Down

0 comments on commit 4975936

Please sign in to comment.