Skip to content
Snippets Groups Projects
entrypoint.sh 383 B
Newer Older
Matteo Parrucci's avatar
Matteo Parrucci committed
echo "installing frontend"
echo "serving frontend"
Matteo Parrucci's avatar
Matteo Parrucci committed
[ "$DEBUG" = 1 ] then:
    echo "develompent running frontend"
    npm run start
else:
    echo "production building frontend"
    npm install -g serve
    npm run build
    echo "productions running frontend"
    serve build -d -l 3000

# DANGEROUSLY_DISABLE_HOST_CHECK=true HOST=0.0.0.0 npm start