Docker/多指令:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第7行: 第7行:


{{shc|<syntaxhighlight lang="bash">
{{shc|<syntaxhighlight lang="bash">
ENTRYPOINT ["./entrypoint.sh"]</syntaxhighlight>|$|/home/kangkk}}
ENTRYPOINT ["sh", "/home/node/app/entrypoint.sh"]</syntaxhighlight>|$|/home/kangkk}}


{{Hc|entrypoint.sh|<pre>
{{Hc|entrypoint.sh|<pre>
nohup npm start &
nohup npm start &
nohup node ./server/server.js &</pre>}}
nohup node ./server/server.js &</pre>}}