10 lines
305 B
Bash
Executable file
10 lines
305 B
Bash
Executable file
#!/bin/sh
|
|
# Installiert Abhaengigkeiten automatisch beim ersten Start im Container, damit auf dem
|
|
# Host ausser Docker nichts installiert werden muss (composer bleibt im Container).
|
|
set -e
|
|
|
|
if [ ! -d /app/vendor ]; then
|
|
composer install --no-interaction --no-progress --working-dir=/app
|
|
fi
|
|
|
|
exec "$@"
|