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:
parent
028a021d9f
commit
f05b62fd86
@ -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
3
yao-scheduler/dev/bootstrap.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cd /root/yao-scheduler/src && go run .
|
Loading…
Reference in New Issue
Block a user