geekai/docker/dockerfile-api-go

16 lines
397 B
Plaintext

# GO api docker 镜像创建
FROM registry.cn-hangzhou.aliyuncs.com/geekmaster/ubuntu-ca:22.04
MAINTAINER yangjian<yangjian102621@163.com>
WORKDIR /var/www/app
COPY ./api/go/bin/chatgpt-v3-amd64-linux /var/www/app
EXPOSE 5678
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
# 容器启动时执行的命令
CMD ["./chatgpt-v3-amd64-linux"]