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.
This commit is contained in:
parent
8148999512
commit
f3a929f9fe
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
FROM ghcr.io/cirruslabs/flutter as builder
|
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
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN ./scripts/prepare-web.sh
|
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
|
FROM docker.io/nginx:alpine
|
||||||
RUN rm -rf /usr/share/nginx/html
|
RUN rm -rf /usr/share/nginx/html
|
||||||
COPY --from=builder /app/build/web /usr/share/nginx/html
|
COPY --from=builder /app/build/web /usr/share/nginx/html
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue