use locally hosted canvaskit instead of calling google

This commit is contained in:
root 2023-09-19 17:44:23 +02:00
parent 2713b38b80
commit ece9ad4c47

View file

@ -4,7 +4,7 @@ COPY . /app
WORKDIR /app
RUN ./scripts/prepare-web.sh
RUN flutter pub get
RUN flutter build web --release --source-maps
RUN flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps
FROM docker.io/nginx:alpine
RUN rm -rf /usr/share/nginx/html