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:
advplyr
2024-01-04 13:50:54 -06:00
committed by GitHub

View File

@@ -18,7 +18,8 @@ RUN apk update && \
ffmpeg \
make \
python3 \
g++
g++ \
tini
COPY --from=tone /usr/local/bin/tone /usr/local/bin/
COPY --from=build /client/dist /client/dist
@@ -31,4 +32,5 @@ RUN apk del make python3 g++
EXPOSE 80
ENTRYPOINT ["tini", "--"]
CMD ["node", "index.js"]