joytou commited on
Commit
ed221ba
1 Parent(s): 882ea5e

Fixed exec entrypoint.sh permission denied

Browse files
.github/ISSUE_TEMPLATE/bug_report.yml DELETED
@@ -1,50 +0,0 @@
1
- name: "🕷️ Bug report"
2
- description: Report errors or unexpected behavior
3
- labels:
4
- - bug
5
- body:
6
- - type: checkboxes
7
- attributes:
8
- label: Self Checks
9
- description: "To make sure we get to you in time, please check the following :)"
10
- options:
11
- - label: This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/fishaudio/fish-speech/discussions).
12
- required: true
13
- - label: I have searched for existing issues [search for existing issues](https://github.com/fishaudio/fish-speech/issues), including closed ones.
14
- required: true
15
- - label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/fishaudio/fish-speech/issues/515)).
16
- required: true
17
- - label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
18
- required: true
19
- - label: "Please do not modify this template :) and fill in all the required fields."
20
- required: true
21
- - type: dropdown
22
- attributes:
23
- label: Cloud or Self Hosted
24
- multiple: true
25
- options:
26
- - Cloud
27
- - Self Hosted (Docker)
28
- - Self Hosted (Source)
29
- validations:
30
- required: true
31
- - type: textarea
32
- attributes:
33
- label: Steps to reproduce
34
- description: We highly suggest including screenshots and a bug report log. Please use the right markdown syntax for code blocks.
35
- placeholder: Having detailed steps helps us reproduce the bug.
36
- validations:
37
- required: true
38
- - type: textarea
39
- attributes:
40
- label: ✔️ Expected Behavior
41
- placeholder: What were you expecting?
42
- validations:
43
- required: false
44
-
45
- - type: textarea
46
- attributes:
47
- label: ❌ Actual Behavior
48
- placeholder: What happened instead?
49
- validations:
50
- required: false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/ISSUE_TEMPLATE/config.yml DELETED
@@ -1,5 +0,0 @@
1
- blank_issues_enabled: false
2
- contact_links:
3
- - name: "\U0001F4E7 Discussions"
4
- url: https://github.com/fishaudio/fish-speech/discussions
5
- about: General discussions and request help from the community
 
 
 
 
 
 
.github/ISSUE_TEMPLATE/feature_request.yml DELETED
@@ -1,40 +0,0 @@
1
- name: "⭐ Feature or enhancement request"
2
- description: Propose something new.
3
- labels:
4
- - enhancement
5
- body:
6
- - type: checkboxes
7
- attributes:
8
- label: Self Checks
9
- description: "To make sure we get to you in time, please check the following :)"
10
- options:
11
- - label: I have searched for existing issues [search for existing issues]([https://github.com/langgenius/dify/issues](https://github.com/fishaudio/fish-speech/issues)), including closed ones.
12
- required: true
13
- - label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/fishaudio/fish-speech/issues/515)).
14
- required: true
15
- - label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
16
- required: true
17
- - label: "Please do not modify this template :) and fill in all the required fields."
18
- required: true
19
- - type: textarea
20
- attributes:
21
- label: 1. Is this request related to a challenge you're experiencing? Tell me about your story.
22
- placeholder: Please describe the specific scenario or problem you're facing as clearly as possible. For instance "I was trying to use [feature] for [specific task], and [what happened]... It was frustrating because...."
23
- validations:
24
- required: true
25
- - type: textarea
26
- attributes:
27
- label: 2. Additional context or comments
28
- placeholder: (Any other information, comments, documentations, links, or screenshots that would provide more clarity. This is the place to add anything else not covered above.)
29
- validations:
30
- required: false
31
- - type: checkboxes
32
- attributes:
33
- label: 3. Can you help us with this feature?
34
- description: Let us know! This is not a commitment, but a starting point for collaboration.
35
- options:
36
- - label: I am interested in contributing to this feature.
37
- required: false
38
- - type: markdown
39
- attributes:
40
- value: Please limit one request per issue.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/pull_request_template.md DELETED
@@ -1,7 +0,0 @@
1
- **Is this PR adding new feature or fix a BUG?**
2
-
3
- Add feature / Fix BUG.
4
-
5
- **Is this pull request related to any issue? If yes, please link the issue.**
6
-
7
- #xxx
 
 
 
 
 
 
 
 
.github/workflows/build-docker-image.yml DELETED
@@ -1,70 +0,0 @@
1
- name: Build Image
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- tags:
8
- - 'v*'
9
-
10
- jobs:
11
- build:
12
- runs-on: ubuntu-latest-16c64g
13
- steps:
14
- - uses: actions/checkout@v4
15
- - name: Set up Docker Buildx
16
- uses: docker/setup-buildx-action@v3
17
- - name: Get Version
18
- run: |
19
- if [[ $GITHUB_REF == refs/tags/v* ]]; then
20
- version=$(basename ${GITHUB_REF})
21
- else
22
- version=nightly
23
- fi
24
-
25
- echo "version=${version}" >> $GITHUB_ENV
26
- echo "Current version: ${version}"
27
-
28
- - name: Login to Docker Hub
29
- uses: docker/login-action@v3
30
- with:
31
- username: ${{ secrets.DOCKER_USER }}
32
- password: ${{ secrets.DOCKER_PAT }}
33
-
34
- - name: Build and Push Image
35
- uses: docker/build-push-action@v6
36
- with:
37
- context: .
38
- file: dockerfile
39
- platforms: linux/amd64
40
- push: true
41
- tags: |
42
- fishaudio/fish-speech:${{ env.version }}
43
- fishaudio/fish-speech:latest
44
- outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
45
- cache-from: type=registry,ref=fishaudio/fish-speech:latest
46
- cache-to: type=inline
47
-
48
- - name: Build and Push Dev Image
49
- uses: docker/build-push-action@v6
50
- with:
51
- context: .
52
- file: dockerfile.dev
53
- platforms: linux/amd64
54
- push: true
55
- build-args: |
56
- VERSION=${{ env.version }}
57
- BASE_IMAGE=fishaudio/fish-speech:${{ env.version }}
58
- tags: |
59
- fishaudio/fish-speech:${{ env.version }}-dev
60
- fishaudio/fish-speech:latest-dev
61
- outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
62
- cache-from: type=registry,ref=fishaudio/fish-speech:latest-dev
63
- cache-to: type=inline
64
-
65
- - name: Push README to Dockerhub
66
- uses: peter-evans/dockerhub-description@v4
67
- with:
68
- username: ${{ secrets.DOCKER_USER }}
69
- password: ${{ secrets.DOCKER_PAT }}
70
- repository: fishaudio/fish-speech
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/workflows/docs.yml DELETED
@@ -1,33 +0,0 @@
1
- name: docs
2
- on:
3
- push:
4
- branches:
5
- - main
6
- paths:
7
- - 'docs/**'
8
- - 'mkdocs.yml'
9
-
10
- permissions:
11
- contents: write
12
-
13
- jobs:
14
- deploy:
15
- runs-on: ubuntu-latest
16
- steps:
17
- - uses: actions/checkout@v4
18
- - name: Configure Git Credentials
19
- run: |
20
- git config user.name github-actions[bot]
21
- git config user.email 41898282+github-actions[bot]@users.noreply.github.com
22
- - uses: actions/setup-python@v5
23
- with:
24
- python-version: 3.x
25
- - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
26
- - uses: actions/cache@v4
27
- with:
28
- key: mkdocs-material-${{ env.cache_id }}
29
- path: .cache
30
- restore-keys: |
31
- mkdocs-material-
32
- - run: pip install -r docs/requirements.txt
33
- - run: mkdocs gh-deploy --force
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/workflows/stale.yml DELETED
@@ -1,25 +0,0 @@
1
- name: Close inactive issues
2
- on:
3
- schedule:
4
- - cron: "0 0 * * *"
5
-
6
- jobs:
7
- close-issues:
8
- runs-on: ubuntu-latest
9
- permissions:
10
- issues: write
11
- pull-requests: write
12
- steps:
13
- - uses: actions/stale@v9
14
- with:
15
- days-before-issue-stale: 30
16
- days-before-issue-close: 14
17
- stale-issue-label: "stale"
18
- stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
19
- close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
20
- days-before-pr-stale: 30
21
- days-before-pr-close: 30
22
- stale-pr-label: "stale"
23
- stale-pr-message: "This PR is stale because it has been open for 30 days with no activity."
24
- close-pr-message: "This PR was closed because it has been inactive for 30 days since being marked as stale."
25
- repo-token: ${{ secrets.GITHUB_TOKEN }}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Dockerfile CHANGED
@@ -31,6 +31,10 @@ WORKDIR /opt/fish-speech
31
 
32
  COPY . .
33
 
 
 
 
 
34
  RUN --mount=type=cache,target=/root/.cache,sharing=locked \
35
  set -ex \
36
  && pip install -e .[stable]
 
31
 
32
  COPY . .
33
 
34
+ USER root
35
+
36
+ RUN chmod +x ./entrypoint.sh
37
+
38
  RUN --mount=type=cache,target=/root/.cache,sharing=locked \
39
  set -ex \
40
  && pip install -e .[stable]