main:更新 Docker 配置文件,添加镜像及平台支持
变更内容: - 在 `Dockerfile` 中指定 `--platform=linux/amd64`,确保跨平台兼容性。 - 在 `docker-compose.yml` 中新增镜像配置及平台设置,贴合部署需求。 - 优化服务配置以匹配目标环境。
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM python:3.11-slim
|
||||
FROM --platform=linux/amd64 python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user