chore: remove libvips from dependencies

This commit is contained in:
naskya 2024-02-06 15:51:05 +09:00
parent aca288fb4d
commit 9797d1b459
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
3 changed files with 10 additions and 3 deletions

View file

@ -3,7 +3,7 @@ FROM node:20-slim as build
WORKDIR /firefish
# Install compilation dependencies
RUN apt-get update && apt-get install -y libvips42 python3 git wget curl build-essential
RUN apt-get update && apt-get install -y python3 git wget curl build-essential
RUN mkdir -m777 /opt/rust /opt/cargo
ENV RUSTUP_HOME=/opt/rust CARGO_HOME=/opt/cargo PATH=/opt/cargo/bin:$PATH
RUN wget --https-only --secure-protocol=TLSv1_2 -O- https://sh.rustup.rs | sh /dev/stdin -y
@ -52,7 +52,7 @@ FROM node:20-slim
WORKDIR /firefish
# Install runtime dependencies
RUN apt-get update && apt-get install -y --no-install-recommends libvips-dev zip unzip tini ffmpeg
RUN apt-get update && apt-get install -y --no-install-recommends zip unzip tini ffmpeg
COPY . ./

View file

@ -87,7 +87,6 @@ If you have access to a server that supports one of the sources below, I recomme
- 🍀 Nginx (recommended)
- 🦦 Caddy
- 🪶 Apache
- ⚡ [libvips](https://www.libvips.org/)
### 😗 Optional dependencies

View file

@ -5,6 +5,14 @@
git remote set-url origin https://firefish.dev/firefish/firefish.git
```
## For systemd users
- `libvips` is no longer required (unless your server os is *BSD), so you may uninstall it from your system. Make sure to execute the following commands after that:
```sh
pnpm clean-npm
pnpm install
```
## For Docker/Podman users
- The image tag has been changed to `registry.firefish.dev/firefish/firefish:latest`, so please update `docker-compose.yml`.