chore: remove libvips from dependencies
This commit is contained in:
parent
aca288fb4d
commit
9797d1b459
3 changed files with 10 additions and 3 deletions
|
@ -3,7 +3,7 @@ FROM node:20-slim as build
|
||||||
WORKDIR /firefish
|
WORKDIR /firefish
|
||||||
|
|
||||||
# Install compilation dependencies
|
# 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
|
RUN mkdir -m777 /opt/rust /opt/cargo
|
||||||
ENV RUSTUP_HOME=/opt/rust CARGO_HOME=/opt/cargo PATH=/opt/cargo/bin:$PATH
|
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
|
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
|
WORKDIR /firefish
|
||||||
|
|
||||||
# Install runtime dependencies
|
# 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 . ./
|
COPY . ./
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,6 @@ If you have access to a server that supports one of the sources below, I recomme
|
||||||
- 🍀 Nginx (recommended)
|
- 🍀 Nginx (recommended)
|
||||||
- 🦦 Caddy
|
- 🦦 Caddy
|
||||||
- 🪶 Apache
|
- 🪶 Apache
|
||||||
- ⚡ [libvips](https://www.libvips.org/)
|
|
||||||
|
|
||||||
### 😗 Optional dependencies
|
### 😗 Optional dependencies
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
git remote set-url origin https://firefish.dev/firefish/firefish.git
|
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
|
## For Docker/Podman users
|
||||||
|
|
||||||
- The image tag has been changed to `registry.firefish.dev/firefish/firefish:latest`, so please update `docker-compose.yml`.
|
- The image tag has been changed to `registry.firefish.dev/firefish/firefish:latest`, so please update `docker-compose.yml`.
|
||||||
|
|
Loading…
Reference in a new issue