From 1da21aa0945503d7010d50bc3199eb232b9a2bc1 Mon Sep 17 00:00:00 2001 From: wataru Date: Fri, 28 Apr 2023 19:06:31 +0900 Subject: [PATCH] update docker --- docker_vcclient/Dockerfile | 3 +++ package.json | 2 +- start_docker.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docker_vcclient/Dockerfile b/docker_vcclient/Dockerfile index e38dd3d3..d28b6809 100644 --- a/docker_vcclient/Dockerfile +++ b/docker_vcclient/Dockerfile @@ -61,6 +61,9 @@ RUN pip install einops==0.6.0 RUN pip install local_attention==1.8.5 RUN pip install websockets==11.0.2 +WORKDIR / +ADD dummy / + RUN git clone https://github.com/w-okada/voice-changer.git ADD /setup.sh /voice-changer/server diff --git a/package.json b/package.json index de5fd155..26b7a7ee 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "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", "build:docker:trainer": "date +%Y%m%d%H%M%S > docker_trainer/dummy && DOCKER_BUILDKIT=1 docker build -f docker_trainer/Dockerfile docker_trainer/ -t trainer", - "build:docker:vcclient": "date +%Y%m%d%H%M%S > docker/dummy && DOCKER_BUILDKIT=1 docker build -f docker_vcclient/Dockerfile docker_vcclient/ -t vcclient", + "build:docker:vcclient": "date +%Y%m%d%H%M%S > docker_vcclient/dummy && DOCKER_BUILDKIT=1 docker build -f docker_vcclient/Dockerfile docker_vcclient/ -t vcclient", "push:docker": "bash script/001_pushDocker.sh", "push:docker:trainer": "bash script/002_pushDockerTrainer.sh", "push:docker:vcclient": "bash script/003_pushDockerVCClient.sh", diff --git a/start_docker.sh b/start_docker.sh index 8553fee7..6cb33a8c 100644 --- a/start_docker.sh +++ b/start_docker.sh @@ -1,7 +1,7 @@ #!/bin/bash set -eu -DOCKER_IMAGE=dannadori/vcclient:20230420_003000 +DOCKER_IMAGE=dannadori/vcclient:20230428_190513 #DOCKER_IMAGE=vcclient ### DEFAULT VAR ###