Skip to content

Commit

Permalink
Merge pull request #410 from Dashboy1998/Add-default-home
Browse files Browse the repository at this point in the history
Fixed image size
  • Loading branch information
thijsvanloef authored Feb 20, 2024
2 parents e72c43d + c628dfe commit 63e2001
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ RUN case ${TARGETARCH} in \
&& chmod +x supercronic \
&& mv supercronic /usr/local/bin/supercronic

ENV PORT= \
ENV HOME=/home/steam \
PORT= \
PUID=1000 \
PGID=1000 \
PLAYERS= \
Expand Down Expand Up @@ -110,9 +111,11 @@ RUN chmod +x /home/steam/server/*.sh && \

WORKDIR /home/steam/server
RUN touch rcon.yaml crontab && \
chmod o+w rcon.yaml crontab && \
chown steam:steam -R /home/steam && \
chmod -R o+w /home/steam/steamcmd
mkdir -p /home/steam/Steam/package && \
chown steam:steam /home/steam/Steam/package && \
rm -rf /tmp/dumps && \
chmod o+w rcon.yaml crontab /home/steam/Steam/package && \
chown steam:steam -R /home/steam/server

HEALTHCHECK --start-period=5m \
CMD pgrep "PalServer-Linux" > /dev/null || exit 1
Expand Down

0 comments on commit 63e2001

Please sign in to comment.