NorbiPeti
453720ddde
It took a while to properly mount the folder to both containers Might be a bit overcomplicated but whatever At the moment it creates the volume at /mcserver on the host
9 lines
150 B
Bash
9 lines
150 B
Bash
#for file in *.jar; do
|
|
# echo $file
|
|
#done
|
|
ls -la
|
|
file=$(ls *.jar | tail -1)
|
|
echo Starting $file
|
|
mkdir -p $MC_SERVER
|
|
cd $MC_SERVER
|
|
java -jar ../$file
|