geekai/build/dockerfile-api-go
2024-05-04 21:30:29 +08:00

13 lines
271 B
Plaintext

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