소스 검색

docker: add Dockerfile

lanvent 3 년 전
부모
커밋
950a9f2ee0
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .github/workflows/deploy-image.yml
  2. 3 0
      Dockerfile

+ 1 - 1
.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 }}

+ 3 - 0
Dockerfile

@@ -0,0 +1,3 @@
+FROM ghcr.io/zhayujie/chatgpt-on-wechat:latest
+
+ENTRYPOINT ["/entrypoint.sh"]