mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-05 16:53:46 +08:00
chore: 添加 docker 镜像构建脚本
This commit is contained in:
12
docker/dockerfile-api-go
Normal file
12
docker/dockerfile-api-go
Normal file
@@ -0,0 +1,12 @@
|
||||
# GO api docker 镜像创建
|
||||
FROM ubuntu:22.04
|
||||
|
||||
MAINTAINER yangjian<yangjian102621@163.com>
|
||||
|
||||
WORKDIR /var/www/app
|
||||
COPY ./api/go/bin/chatgpt-v3-amd64-linux /var/www/app
|
||||
|
||||
EXPOSE 5678
|
||||
|
||||
# 容器启动时执行的命令
|
||||
CMD ["./chatgpt-v3-amd64-linux"]
|
||||
Reference in New Issue
Block a user