Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Docker Vits
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Docker Vits
Commits
69064bf5
Commit
69064bf5
authored
Apr 16, 2023
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use another program
parent
20b965cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-2
injects/Dockerfile
injects/Dockerfile
+3
-0
No files found.
.gitlab-ci.yml
View file @
69064bf5
...
...
@@ -15,11 +15,10 @@ variables:
stage
:
build
script
:
-
apk add --no-cache git git-lfs
-
git lfs clone https://huggingface.co/spaces/
hhhhardman/VITS-Umamusume-voice-synthesizer
src
-
git lfs clone https://huggingface.co/spaces/
ikechan8370/vits-uma-genshin-honkai
src
-
cp -rf injects/Dockerfile src/
-
cp -rf injects/.dockerignore src/
-
cd src
-
sed -i "s/show_api=False, share=args.share/show_api=True, share=args.share, server_name='0.0.0.0'/" app.py
-
docker build --pull -t $TARGET_IMAGE .
-
docker push $TARGET_IMAGE
...
...
injects/Dockerfile
View file @
69064bf5
...
...
@@ -8,5 +8,8 @@ WORKDIR /app
COPY
./requirements.txt /app/requirements.txt
RUN
pip
install
--no-cache
-r
requirements.txt
COPY
. /app
RUN
sed
-i
"s/
\.
launch()/
\.
launch(server_name=
\"
0.0.0.0
\"
)/"
app.py
EXPOSE
7860
CMD
["python", "app.py"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment