adding script for starting everything in local
This commit is contained in:
parent
4dacde0016
commit
4787d921f7
3 changed files with 14 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
src/Lavalink
|
||||||
|
start.*
|
6
src/start.bat
Normal file
6
src/start.bat
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
@echo off
|
||||||
|
echo "Starting Lavalink server and waiting 20s..."
|
||||||
|
RUN "java -jar Lavalink/Lavalink.jar 1>/dev/null &" # showing only stderror
|
||||||
|
timeout /t 30
|
||||||
|
echo "Done."
|
||||||
|
RUN "python -u ./main.py"
|
6
src/start.sh
Normal file
6
src/start.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
echo "Starting Lavalink server and waiting 20s..."
|
||||||
|
java -jar Lavalink/Lavalink.jar 1>/dev/null & # showing only stderror
|
||||||
|
sleep 20
|
||||||
|
echo "Done."
|
||||||
|
python3 -u ./main.py
|
Reference in a new issue