forked from jammsen/docker-the-forest-dedicated-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (21 loc) · 860 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM debian:stable-slim
LABEL maintainer="Sebastian Schmidt"
ENV WINEPREFIX=/wine \
WINEARCH=win64 \
DISPLAY=:1.0 \
TIMEZONE=Europe/Berlin \
DEBIAN_FRONTEND=noninteractive \
PUID=0 \
PGID=0
RUN dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends --no-install-suggests procps wget curl ca-certificates supervisor lib32gcc1 apt-transport-https xvfb winbind wine wine64 wine32 \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY . ./
RUN ln -snf /usr/share/zoneinfo/$TIMEZONE /etc/localtime \
&& echo $TIMEZONE > /etc/timezone \
&& chmod +x /usr/bin/steamcmdinstaller.sh /usr/bin/servermanager.sh /wrapper.sh
EXPOSE 8766/tcp 8766/udp 27015/tcp 27015/udp 27016/tcp 27016/udp
VOLUME ["/theforest", "/steamcmd"]
CMD ["supervisord"]