From 950a9f2ee0addf2602914b16a1f9ee145dded98b Mon Sep 17 00:00:00 2001 From: lanvent Date: Thu, 30 Mar 2023 02:11:53 +0800 Subject: [PATCH] docker: add Dockerfile --- .github/workflows/deploy-image.yml | 2 +- Dockerfile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/.github/workflows/deploy-image.yml b/.github/workflows/deploy-image.yml index adfa129..e5fe501 100644 --- a/.github/workflows/deploy-image.yml +++ b/.github/workflows/deploy-image.yml @@ -55,6 +55,6 @@ jobs: with: package-name: 'chatgpt-on-wechat' package-type: 'container' - min-versions-to-keep: 2 + min-versions-to-keep: 10 delete-only-untagged-versions: 'true' token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9d3bbb7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM ghcr.io/zhayujie/chatgpt-on-wechat:latest + +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file