diff --git a/Dockerfile b/Dockerfile index a2c77e812..7a696ce54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ RUN sudo apt update && sudo apt install curl -y COPY . /app WORKDIR /app RUN ./scripts/prepare-web.sh -RUN ./scripts/build-web.sh +RUN flutter pub get +RUN flutter build web --release --source-maps FROM docker.io/nginx:alpine RUN rm -rf /usr/share/nginx/html diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 020c840f8..30ae02b4c 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,7 +1,8 @@ name: fluffychat title: FluffyChat base: core22 -adopt-info: fluffychat +version: git +license: AGPL-3.0 summary: The cutest messenger in the Matrix network description: | FluffyChat is an open source, nonprofit and cute matrix messenger app. The app is easy to use but secure and decentralized. @@ -38,7 +39,7 @@ description: | Join the community: https://matrix.to/#/#fluffychat:matrix.org Website: http://fluffychat.im - Microblog: https://metalhead.club/@krille + Microblog: https://mastodon.art/@krille grade: stable confinement: strict @@ -83,7 +84,6 @@ parts: plugin: flutter source: . override-build: | - craftctl set version=$(git describe --always --tag) set -eux flutter pub get || true flutter build linux --release -v