-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
37 lines (27 loc) · 1.01 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
#BUILD THE SERVER IMAGE
FROM cm2network/steamcmd:root
RUN apt-get update && apt-get install -y --no-install-recommends \
gettext-base=0.21-12 \
procps=2:4.0.2-3 \
xdg-user-dirs=0.18-1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
LABEL maintainer="support@indifferentbroccoli.com" \
name="indifferentbroccoli/satisfactory-server-docker" \
github="https://github.com/indifferentbroccoli/satisfactory-server-docker" \
dockerhub="https://hub.docker.com/r/indifferentbroccoli/satisfactory-server-docker"
ENV HOME=/home/steam \
GAME_PORT=7777 \
BEACON_PORT=15000 \
QUERY_PORT=15777 \
SERVER_IP=0.0.0.0 \
GENERATE_SETTINGS=true
COPY ./scripts /home/steam/server/
COPY branding /branding
RUN mkdir -p /satisfactory && \
chmod +x /home/steam/server/*.sh
WORKDIR /home/steam/server
HEALTHCHECK --start-period=5m \
CMD pgrep "Factory" > /dev/null || exit 1
EXPOSE 7777/udp 7777/tcp
ENTRYPOINT ["/home/steam/server/init.sh"]