feat: merge mysql and redis docker service to docker-compose.yaml file

This commit is contained in:
RockYang
2023-11-27 10:56:18 +08:00
parent 86788362a5
commit bfe2d4d573
10 changed files with 129 additions and 41 deletions

12
build/dockerfile-api-go Normal file
View File

@@ -0,0 +1,12 @@
# GO api docker 镜像创建
FROM alpine:3.18.2
MAINTAINER yangjian<yangjian102621@163.com>
WORKDIR /var/www/app
COPY ./api/bin/chatgpt-plus-amd64-linux /var/www/app
EXPOSE 5678
# 容器启动时执行的命令
CMD ["./chatgpt-plus-amd64-linux"]