diff --git a/docker/Dockerfile b/docker/Dockerfile index 7f405c9..e123ba9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -13,14 +13,16 @@ RUN mkdir -p /data/Stardew && \ unzip /data/nexus.zip -d /data/nexus/ && \ /bin/bash -c "echo -e \"2\n/data/Stardew/Stardew\ Valley\n1\n\" | /usr/bin/mono /data/nexus/SMAPI\ 3.4.1\ installer/internal/unix-install.exe" -#mods +# Add Mods COPY mods/alwayson.zip /data/alwayson.zip COPY mods/unlimitedplayers.zip /data/unlimitedplayers.zip +COPY mods/autoloadgame.zip /data/autoloadgame.zip COPY docker-entrypoint.sh /docker-entrypoint.sh RUN unzip /data/alwayson.zip -d /data/Stardew/Stardew\ Valley/Mods && \ unzip /data/unlimitedplayers.zip -d /data/Stardew/Stardew\ Valley/Mods && \ - rm /data/alwayson.zip /data/unlimitedplayers.zip + unzip /data/autoloadgame.zip -d /data/Stardew/Stardew\ Valley/Mods && \ + rm /data/alwayson.zip /data/unlimitedplayers.zip /data/autoloadgame.zip ENTRYPOINT ["/docker-entrypoint.sh"] diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index b8fd770..524a853 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -3,7 +3,7 @@ Xvfb :10 -screen 0 1000x1000x24 -ac & export DISPLAY=:10.0 x11vnc -display :10 -rfbport 5900 -rfbportv6 -1 -no6 -noipv6 -httpportv6 -1 -forever -desktop StardewValley -cursor arrow -shared -passwd 23eris42 & -sleep 10 +sleep 5 i3 & TERM=xterm diff --git a/docker/mods/autoloadgame.zip b/docker/mods/autoloadgame.zip new file mode 100644 index 0000000..ab447c1 Binary files /dev/null and b/docker/mods/autoloadgame.zip differ