Merge pull request #584 from Craeckie/main

Use locally hosted canvaskit instead of calling google
This commit is contained in:
Krille-chan 2023-10-29 09:02:53 +01:00 committed by GitHub
commit b990ade2af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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