📜  提示前 Dockerfile RUN cmd - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:00.576000             🧑  作者: Mango

代码示例1
#!/bin/sh

# Where $ENVSUBS is whatever command you are looking to run
$ENVSUBS < fil1 > file2

npm install

# This will exec the CMD from your Dockerfile, i.e. "npm start"
exec "$@"