1
0
Fork 1
mirror of https://example.com synced 2024-11-22 12:06:39 +09:00

docker: remove libvips from dependencies

This commit is contained in:
naskya 2023-12-23 05:12:19 +09:00
parent 1b22e65f3d
commit f8ca97242e
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -3,7 +3,7 @@ FROM node:21-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
@ -59,7 +59,7 @@ FROM node:21-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 . ./