Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

conditional dockerfile

if [ ${ENV} = "DEV" ]; then 
    composer install
else
    npm install
fi
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #conditional #dockerfile
ADD COMMENT
Topic
Name
7+8 =