From f3a929f9fe87ff336faeb60db19da519c5ec7e4c Mon Sep 17 00:00:00 2001 From: David Douard Date: Mon, 6 Nov 2023 17:19:05 +0100 Subject: [PATCH] Fix Dockerfile: install jq in the builder image It seems jq is now required by the prepare-web.sh script, so add it in the builder image. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7859f246..e5416091 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM ghcr.io/cirruslabs/flutter as builder -RUN sudo apt update && sudo apt install curl -y +RUN sudo apt update && sudo apt install curl jq -y COPY . /app WORKDIR /app RUN ./scripts/prepare-web.sh @@ -8,4 +8,4 @@ RUN flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --relea FROM docker.io/nginx:alpine RUN rm -rf /usr/share/nginx/html -COPY --from=builder /app/build/web /usr/share/nginx/html \ No newline at end of file +COPY --from=builder /app/build/web /usr/share/nginx/html