opt: 优化 docker-compse 构建脚本,修复后端路由 Bug

This commit is contained in:
RockYang
2023-06-23 18:04:16 +08:00
parent cbdc532f83
commit f9783b4806
8 changed files with 23 additions and 19 deletions

View File

@@ -8,5 +8,8 @@ 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"]