Use self-hosted canvaskit
This commit is contained in:
parent
650b6dfc4d
commit
c4aa025fe3
@ -10,5 +10,8 @@ mkdir image
|
||||
cp -r build/web image
|
||||
cp player-server/target/release/player-server image
|
||||
|
||||
echo Patch built files
|
||||
sed -i 's/<\/head>/<script>window.flutterConfiguration = {canvasKitBaseUrl: "\/canvaskit\/"}<\/script><\/head>/g' image/web/index.html
|
||||
|
||||
echo Build Docker image
|
||||
docker build image -f Dockerfile -t pierre42100/new_web_music_player
|
||||
|
Loading…
Reference in New Issue
Block a user