main:更新 Docker 配置文件,添加镜像及平台支持
变更内容: - 在 `Dockerfile` 中指定 `--platform=linux/amd64`,确保跨平台兼容性。 - 在 `docker-compose.yml` 中新增镜像配置及平台设置,贴合部署需求。 - 优化服务配置以匹配目标环境。
This commit is contained in:
@@ -5,6 +5,7 @@ services:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: deployment/Dockerfile
|
||||
platform: linux/amd64
|
||||
ports:
|
||||
- "8111:8000"
|
||||
environment:
|
||||
@@ -44,6 +45,7 @@ services:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: deployment/Dockerfile
|
||||
image: crpi-om2xd9y8cmaizszf.cn-beijing.personal.cr.aliyuncs.com/test-namespace-gu/fc-test:latest
|
||||
environment:
|
||||
- APP_ENV=development
|
||||
- LOG_LEVEL=INFO
|
||||
|
||||
Reference in New Issue
Block a user