Skip to content

Commit

Permalink
add tini: Valheim
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintenQVD0 authored Nov 11, 2023
1 parent ddce841 commit 535e9f9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions games/valheim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,9 @@ RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
ADD passwd.template /passwd.template


COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
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 535e9f9

Please sign in to comment.