geekai/docker/dockerfile-api-go
2023-08-22 22:18:07 +08:00

13 lines
250 B
Plaintext

# 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"]