geekai/docker/dockerfile-api-go

13 lines
246 B
Plaintext

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