@@ -2,6 +2,10 @@
set -e
+if [[ ! -d node_modules ]]; then
+ npm install
+fi
+
if [ "${BACKEND_DEBUG}" = "true" ]; then
export INSPECT_BRK="--inspect-brk=0.0.0.0:${BACKEND_DEBUG_PORT:-9229}"
else
if [ "${APP_ENV}" = "development" ]; then
ln -sf /opt/app/nginx.dev.conf /etc/nginx/http.d/default.conf
nginx