-
-
Notifications
You must be signed in to change notification settings - Fork 155
/
Copy pathDockerfile
45 lines (38 loc) · 1.11 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM steamcmd/steamcmd:ubuntu-18
RUN set -x \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y gosu xdg-user-dirs --no-install-recommends\
&& rm -rf /var/lib/apt/lists/* \
&& useradd -ms /bin/bash steam \
&& gosu nobody true
RUN mkdir -p /config \
&& chown steam:steam /config
COPY init.sh /
COPY --chown=steam:steam *.ini run.sh /home/steam/
WORKDIR /config
ENV AUTOPAUSE="true" \
AUTOSAVEINTERVAL="300" \
AUTOSAVENUM="5" \
AUTOSAVEONDISCONNECT="true" \
CRASHREPORT="true" \
DEBUG="false" \
DISABLESEASONALEVENTS="false" \
GAMECONFIGDIR="/config/gamefiles/FactoryGame/Saved" \
GAMESAVESDIR="/home/steam/.config/Epic/FactoryGame/Saved/SaveGames" \
MAXOBJECTS="2162688" \
MAXPLAYERS="4" \
MAXTICKRATE="30" \
NETWORKQUALITY="3" \
PGID="1000" \
PUID="1000" \
ROOTLESS="false" \
SERVERBEACONPORT="15000" \
SERVERGAMEPORT="7777" \
SERVERIP="0.0.0.0" \
SERVERQUERYPORT="15777" \
SKIPUPDATE="false" \
STEAMAPPID="1690800" \
STEAMBETA="false" \
TIMEOUT="30"
EXPOSE 7777/udp 15000/udp 15777/udp
ENTRYPOINT [ "/init.sh" ]