Commit 69064bf5 authored by nanahira's avatar nanahira

use another program

parent 20b965cd
...@@ -15,11 +15,10 @@ variables: ...@@ -15,11 +15,10 @@ variables:
stage: build stage: build
script: script:
- apk add --no-cache git git-lfs - 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/Dockerfile src/
- cp -rf injects/.dockerignore src/ - cp -rf injects/.dockerignore src/
- cd 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 build --pull -t $TARGET_IMAGE .
- docker push $TARGET_IMAGE - docker push $TARGET_IMAGE
......
...@@ -8,5 +8,8 @@ WORKDIR /app ...@@ -8,5 +8,8 @@ WORKDIR /app
COPY ./requirements.txt /app/requirements.txt COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache -r requirements.txt RUN pip install --no-cache -r requirements.txt
COPY . /app COPY . /app
RUN sed -i "s/\.launch()/\.launch(server_name=\"0.0.0.0\")/" app.py
EXPOSE 7860
CMD ["python", "app.py"] CMD ["python", "app.py"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment