adding script for starting everything in local

This commit is contained in:
Mylloon 2021-08-07 11:48:43 +02:00
parent 4dacde0016
commit 4787d921f7
3 changed files with 14 additions and 0 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
src/Lavalink
start.*

6
src/start.bat Normal file
View 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
View 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