This commit is contained in:
norimicry 2020-04-07 03:07:14 +02:00
parent 8465a70c41
commit 921eac9edc
2 changed files with 3 additions and 8 deletions

View File

@ -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

View File

@ -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"