mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-31 14:57:59 +00:00
Updated dockerfile
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -5,18 +5,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
xdg-user-dirs=0.17-2 \
|
xdg-user-dirs=0.17-2 \
|
||||||
procps=2:3.3.17-5 \
|
procps=2:3.3.17-5 \
|
||||||
wget=1.21-1+deb11u1 \
|
wget=1.21-1+deb11u1 \
|
||||||
&& apt-get install -y cron \
|
cron \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
RUN wget -q https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz -O - | tar -xz && \
|
RUN wget -q https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz -O - | tar -xz && \
|
||||||
mv rcon-0.10.3-amd64_linux/rcon /usr/bin/rcon-cli && \
|
mv rcon-0.10.3-amd64_linux/rcon /usr/bin/rcon-cli && \
|
||||||
rmdir /tmp/dumps
|
rmdir /tmp/dumps && \
|
||||||
|
rm -f /var/run/crond.pid
|
||||||
RUN rm -f /var/run/crond.pid
|
|
||||||
COPY ./scripts/backup.sh /usr/local/bin/backup
|
|
||||||
RUN chmod +x /usr/local/bin/backup
|
|
||||||
|
|
||||||
ENV PORT= \
|
ENV PORT= \
|
||||||
PUID=1000 \
|
PUID=1000 \
|
||||||
@@ -34,7 +31,7 @@ ENV PORT= \
|
|||||||
RCON_PORT=25575 \
|
RCON_PORT=25575 \
|
||||||
QUERY_PORT=27015 \
|
QUERY_PORT=27015 \
|
||||||
TZ=UTC \
|
TZ=UTC \
|
||||||
SERVER_DESCRIPTION=
|
SERVER_DESCRIPTION= \
|
||||||
BACKUP_ENABLED=false \
|
BACKUP_ENABLED=false \
|
||||||
DAYS_TO_KEEP= \
|
DAYS_TO_KEEP= \
|
||||||
BACKUP_CRON_EXPRESSION=
|
BACKUP_CRON_EXPRESSION=
|
||||||
|
|||||||
Reference in New Issue
Block a user