Skip to content

Commit

Permalink
Merge pull request #1272 from rommapp/misc/use-tini-as-container-entr…
Browse files Browse the repository at this point in the history
…ypoint

misc: Use tini as container entrypoint
  • Loading branch information
adamantike authored Nov 1, 2024
2 parents 009a436 + 26dcefa commit 9f28c95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ RUN apk add --no-cache \
mariadb-connector-c \
p7zip \
python3 \
tini \
tzdata \
valkey

Expand Down Expand Up @@ -148,4 +149,6 @@ VOLUME ["/romm/resources", "/romm/library", "/romm/assets", "/romm/config", "/re
# Expose ports and start
EXPOSE 8080 6379/tcp
WORKDIR /romm

ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/init"]

0 comments on commit 9f28c95

Please sign in to comment.