This commit is contained in:
2025-11-20 22:49:08 +08:00
parent 867d0475eb
commit 4377aa13ae
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
# 0.0.6
- 修正dockerfile
# 0.0.5 # 0.0.5
- 完善dockerfile - 完善dockerfile
# 0.0.4 # 0.0.4

View File

@@ -1,8 +1,8 @@
services: services:
# 容器服务名称 # 容器服务名称
CaAutoTable: ca_auto_table:
# 容器名称 # 容器名称
container_name: CaAutoTable container_name: ca_auto_table
build: build:
# 在当前目录下寻找Dockerfile文件并构建镜像 # 在当前目录下寻找Dockerfile文件并构建镜像
context: . context: .
@@ -15,7 +15,7 @@ services:
- .:/app - .:/app
# 环境变量 可以在Dockerfile中配置环境变量应用中获取 # 环境变量 可以在Dockerfile中配置环境变量应用中获取
environment: environment:
- NAME=CaAutoTable - NAME=ca_auto_table
- TZ=Asia/Shanghai - TZ=Asia/Shanghai
# 端口映射 容器端口映射到主机端口 # 端口映射 容器端口映射到主机端口
ports: ports: