nginx-proxy-manager-zh/docker/rootfs/etc/services.d/frontend/run

13 lines
239 B
Plaintext
Raw Normal View History

#!/usr/bin/with-contenv bash
# This service is DEVELOPMENT only.
if [ "$DEVELOPMENT" == "true" ]; then
cd /app/frontend || exit 1
# If yarn install fails: add --verbose --network-concurrency 1
yarn install
yarn watch
else
exit 0
fi