geekai/build/dockerfile-api-go
2023-12-12 07:25:36 +08:00

13 lines
238 B
Plaintext

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