Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gOOvER committed Oct 22, 2023
1 parent b927480 commit ca78d6f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions steamcmd/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ RUN apt install -y \
speex:i386 \
tar \
telnet \
tini \
tzdata \
wget \
lib32gcc-s1 \
Expand Down Expand Up @@ -115,6 +116,10 @@ USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

## Copy over and execute entrypoint.sh
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
# Sets the default stop signal as wings can (currently) only send a kill or generic stop
STOPSIGNAL SIGINT

COPY --chown=container:container ../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]

0 comments on commit ca78d6f

Please sign in to comment.