add docker

This commit is contained in:
caiyuchao
2025-04-15 04:20:49 +00:00
parent 3c15e9d282
commit f3040ecf67
3 changed files with 28 additions and 1 deletions

12
docker-compose.yml Normal file
View File

@@ -0,0 +1,12 @@
version: '3.8'
services:
wfc-license-serve:
# 使用前面创建的Dockerfile构建的镜像
build: .
# 指定容器名(可选)
container_name: wfc-license-serve
# 指定端口映射例如将容器的8080端口映射到主机的8080端口
ports:
- "8070:8070"
volumes:
- ./license:/opt/license