Dockerfile issue

I have 2 commands to start.

Command 1 : Java -jar myapp.jar

Command 2 : sudo service mysql start

How do I write these in Dockerfile ?

I think Dockerfile can run only 1 command. Is it possible to run above 2 commands in Dockerfile ?

submitted by /u/anacondaonline
[link] [comments]
Source: Reddit