1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-06-06 07:51:54 +00:00

update yao-scheduler

This commit is contained in:
Newnius 2020-05-26 11:48:34 +08:00
parent 028a021d9f
commit f05b62fd86
2 changed files with 6 additions and 1 deletions

View File

@ -21,4 +21,6 @@ ADD conf/config.json /etc/yao/
WORKDIR /root/yao-scheduler/ WORKDIR /root/yao-scheduler/
CMD go run src/* ADD bootstrap.sh /etc/
CMD ["/etc/bootstrap.sh"]

3
yao-scheduler/dev/bootstrap.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
cd /root/yao-scheduler/src && go run .