Answers for "Dockerfile RUN cmd before prompt"

0

Dockerfile RUN cmd before prompt

#!/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 "$@"
Posted by: Guest on September-24-2021

Code answers related to "Dockerfile RUN cmd before prompt"

Browse Popular Code Answers by Language