Bedingte Dockerfile
if [ ${ENV} = "DEV" ]; then
composer install
else
npm install
fi
Doubtful Dunlin
if [ ${ENV} = "DEV" ]; then
composer install
else
npm install
fi
...
COPY install.sh install.sh
RUN chmod u+x install.sh && ./install.sh
...