forked from VOICEVOX/voicevox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
33 lines (26 loc) · 976 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '3'
services:
test:
build: .
working_dir: /work
# If you don't have node_modules, use "npm ci", install node_modules into the your directory.
# Use command bellow
# `docker-compose up -d --build`
# The container will stop automatically after install
# If you have node_modules already, you comment out '# command: "npm ci"'
# command: "npm ci"
# After node_modules install, use command bellow to exec "/bin/sh" and the container will remain.
# `docker-compose up -d`
# To access container, use command bellow
# `docker exec -it voicevox_test_1 /bin/bash`
# command: "/bin/sh"
# If you want test automatically (test runs when you save any files), use this command property and view logs
# Use Command bellow
# `docker logs --tail 1000 -f voicevox_test_1`
command: "npm run test-watch:unit "
ports:
- 3000:3000
volumes:
- .:/work:cached
tty: true
stdin_open: true