Created
February 7, 2021 00:41
-
-
Save Ahmadre/1ee795f3cf281d7d83234e398a070cfa to your computer and use it in GitHub Desktop.
Entrypoint for Flutter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -eu | |
flutter build web --release --dart-define TITLE=${TITLE:-} | |
chmod -R 755 /usr/share/nginx/html | |
cp -r /app/build/web/* /usr/share/nginx/html | |
nginx -g "daemon off;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment