diff --git a/docker-compose.yml b/docker-compose.yml index 3f551b2..2371b2c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2.2' services: valley: - build: . + build: docker ports: - 5902:5900 - 24642:24642/udp @@ -12,9 +12,4 @@ services: - ./valley_saves:/root/.config/StardewValley/Saves/ devices: - /dev/snd:/dev/snd - entrypoint: - - /bin/sh - - /init.sh - #cpus: 2 - #cpuset: 0,1 diff --git a/docker/Dockerfile b/docker/Dockerfile index e123ba9..0229580 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,8 +7,8 @@ RUN apt-get install -y wget unzip xvfb x11vnc xterm i3 RUN mkdir -p /data/Stardew && \ mkdir -p /data/nexus && \ wget https://eris.cc/Stardew_latest_1.4.tar.gz -qO /data/latest.tar.gz && \ - tar xvf /data/latest.tar -C /data/Stardew && \ - rm /data/latest.tar.gz + tar xf /data/latest.tar.gz -C /data/Stardew && \ + rm /data/latest.tar.gz && \ wget https://github.com/Pathoschild/SMAPI/releases/download/3.4.1/SMAPI-3.4.1-installer.zip -qO /data/nexus.zip && \ 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"