steam-dontstarve/Dockerfile
2018-12-15 21:12:00 +01:00

23 lines
651 B
Docker

FROM zombi/steam:latest
ENV \
DST_CLUSTER_TOKEN=changeme \
DST_GAME_MODE=survival \
DST_MAX_PLAYERS=6 \
DST_PVP=false \
DST_PAUSE_WHEN_EMPTY=true \
DST_CLUSTER_DESCRIPTION=Don't\ Starve\ server \
DST_CLUSTER_NAME=Don't\ Starve\ Server \
DST_CLUSTER_INTENTION=cooperative
RUN dpkg --add-architecture i386
RUN apt-get update
RUN apt-get install -y libcurl4-gnutls-dev:i386
EXPOSE 11000 11000/udp 27018 27018/udp 8768
EXPOSE 8768/udp
COPY conf/ /home/steam/.klei/DoNotStarveTogether/Zom.bi
RUN chown -R steam ~steam
COPY entrypoint.sh /entrypoint.sh
RUN chmod +xr /entrypoint.sh
USER steam
ENTRYPOINT ["/entrypoint.sh"]