mirror of
https://github.com/krille-chan/fluffychat
synced 2024-10-03 19:12:41 +00:00
Fix dependency. missing yq when invoking setup-web. also ensure updated config.json copied in
This commit is contained in:
parent
ab9ca586b4
commit
ab0cbabc99
1 changed files with 8 additions and 1 deletions
|
@ -1,8 +1,15 @@
|
||||||
FROM ghcr.io/cirruslabs/flutter as builder
|
FROM ghcr.io/cirruslabs/flutter as builder
|
||||||
RUN sudo apt update && sudo apt install curl jq -y
|
RUN sudo apt update && sudo apt install curl wget jq -y
|
||||||
|
|
||||||
|
WORKDIR /tmp
|
||||||
|
RUN wget https://github.com/mikefarah/yq/releases/download/v4.40.5/yq_linux_amd64.tar.gz
|
||||||
|
RUN tar -xzvf ./yq_linux_amd64.tar.gz
|
||||||
|
RUN mv yq_linux_amd64 /usr/bin/yq
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN ./scripts/prepare-web.sh
|
RUN ./scripts/prepare-web.sh
|
||||||
|
COPY config.* /app/
|
||||||
RUN flutter pub get
|
RUN flutter pub get
|
||||||
RUN flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps
|
RUN flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue