mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 06:25:15 +00:00
use locally hosted canvaskit instead of calling google
This commit is contained in:
parent
2713b38b80
commit
ece9ad4c47
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN ./scripts/prepare-web.sh
|
RUN ./scripts/prepare-web.sh
|
||||||
RUN flutter pub get
|
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
|
FROM docker.io/nginx:alpine
|
||||||
RUN rm -rf /usr/share/nginx/html
|
RUN rm -rf /usr/share/nginx/html
|
||||||
|
|
Loading…
Reference in a new issue