Commit 69064bf5 authored by nanahira's avatar nanahira

use another program

parent 20b965cd
......@@ -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
......
......@@ -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"]
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