mirror of
https://github.com/krille-chan/fluffychat
synced 2024-10-05 12:32:45 +00:00
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
|
||||
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
|
||||
COPY --from=builder /app/build/web /usr/share/nginx/html
|
||||
|
|
Loading…
Reference in a new issue