mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-11 14:29:41 +00:00
Merge pull request #2488 from FreedomBen/add-init-system-to-docker
Add tini as PID 1 handler in container image
This commit is contained in:
commit
4f9969cd9b
1 changed files with 3 additions and 1 deletions
|
|
@ -18,7 +18,8 @@ RUN apk update && \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
make \
|
make \
|
||||||
python3 \
|
python3 \
|
||||||
g++
|
g++ \
|
||||||
|
tini
|
||||||
|
|
||||||
COPY --from=tone /usr/local/bin/tone /usr/local/bin/
|
COPY --from=tone /usr/local/bin/tone /usr/local/bin/
|
||||||
COPY --from=build /client/dist /client/dist
|
COPY --from=build /client/dist /client/dist
|
||||||
|
|
@ -31,4 +32,5 @@ RUN apk del make python3 g++
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
ENTRYPOINT ["tini", "--"]
|
||||||
CMD ["node", "index.js"]
|
CMD ["node", "index.js"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue