WIP releasing...

This commit is contained in:
wataru 2023-01-29 15:34:56 +09:00
parent 877d6c3c8e
commit f2d8159e4c
2 changed files with 8 additions and 7 deletions

View File

@ -6,10 +6,9 @@
"scripts": {
"build:docker": "date +%Y%m%d%H%M%S > docker/dummy && DOCKER_BUILDKIT=1 docker build -f docker/Dockerfile docker/ -t voice-changer",
"build:docker:onnx": "DOCKER_BUILDKIT=1 docker build -f docker_onnx/Dockerfile docker/ -t onnx-converter",
"copy:frontend":"docker run -v `pwd`/frontend/dist:/frontend/dist --entrypoint /bin/bash -ti voice-changer -c \"cp -r /voice-changer-internal/frontend/dist/* /frontend/dist\"",
"copy:backend":"docker run -v `pwd`/demo:/demo --entrypoint /bin/bash -ti voice-changer -c \"cp -r /voice-changer-internal/voice-change-service/* /demo/ && rm -rf /demo/MMVC_Trainer/.git && rm -rf /demo/MMVC_Trainer/.gitignore \"",
"create:demo":"run-p copy:frontend copy:backend",
"copy:frontend": "docker run -v `pwd`/frontend/dist:/frontend/dist --entrypoint /bin/bash -ti voice-changer -c \"cp -r /voice-changer-internal/frontend/dist/* /frontend/dist\"",
"copy:backend": "docker run -v `pwd`/demo:/demo --entrypoint /bin/bash -ti voice-changer -c \"cp -r /voice-changer-internal/voice-change-service/* /demo/ && rm -rf /demo/MMVC_Trainer/.git && rm -rf /demo/MMVC_Trainer/.gitignore \"",
"create:demo": "run-p copy:frontend copy:backend",
"push:docker": "bash script/001_pushDocker.sh",
"test": "echo \"Error: no test specified\" && exit 1"
},
@ -17,8 +16,10 @@
"type": "git",
"url": "git+https://github.com/w-okada/voice-changer.git"
},
"keywords": [],
"author": "",
"keywords": [
"voice conversion"
],
"author": "wataru.okada@flect.co.jp",
"license": "ISC",
"bugs": {
"url": "https://github.com/w-okada/voice-changer/issues"

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -eu
DOCKER_IMAGE=dannadori/voice-changer:20230119_223736
DOCKER_IMAGE=dannadori/voice-changer:20230129_152955
#DOCKER_IMAGE=voice-changer
if [ $# = 0 ]; then