-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathDockerfile
33 lines (26 loc) · 907 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
30
31
32
33
FROM cm2network/steamcmd:steam
ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /opt/palworld
RUN /home/steam/steamcmd/steamcmd.sh +force_install_dir "/opt/palworld" +login anonymous +app_update 2394010 validate +quit
ENV GAME_PORT=8211
ENV MAX_PLAYERS=32
ENV ENABLE_MULTITHREAD=true
ENV IS_PUBLIC=false
ENV PUBLIC_IP=
ENV PUBLIC_PORT=
ENV FORCE_UPDATE=false
ENV SERVER_NAME="Default Palworld Server"
ENV SERVER_DESC="Default Palworld Server"
ENV ADMIN_PASSWORD=changeme
ENV SERVER_PASSWORD=
ENV RCON_ENABLED=false
ENV RCON_PORT=25575
ENV RESTAPI_ENABLED=false
ENV RESTAPI_PORT=8212
ADD docker-entrypoint.sh /docker-entrypoint.sh
EXPOSE ${GAME_PORT}/udp ${RCON_PORT}/tcp ${RESTAPI_PORT}/tcp
# fix permission
RUN mkdir -p /opt/palworld/Pal/Saved
RUN mkdir -p /opt/palworld/Pal/Content/Paks/MOD
VOLUME [ "/opt/palworld/Pal/Saved", "/opt/palworld/Pal/Content/Paks/MOD" ]
ENTRYPOINT [ "/docker-entrypoint.sh" ]