79394955

Date: 2025-01-28 19:19:49
Score: 0.5
Natty:
Report link

Thanks to @Aryan Raj suggestion, here is a more explicit solution to my problem. Add the following lines to the Dockerfile:

# Add Tini
RUN apt-get install -y tini

# Set Tini as entrypoint
ENTRYPOINT ["/usr/bin/tini", "--"]

# Set your main application as CMD
CMD ["/usr/queue/qserver", "--port=1234"]

Now the qserver daemon runs as expected in the background!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Aryan
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: mcExchange