summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-02-27 01:02:53 +1100
committerJake Mannens <jake@asger.xyz>2026-02-27 01:02:53 +1100
commit012e504a5ba0b42bdf9a39eafe9bf8bdf1cc7481 (patch)
treec9ec8d3e18ac5cce61a4842ce70cae6affee8fad
parent7447a54c13631b5ecf7b4e10cef2cbf52a357042 (diff)
Include ImageMagick in Docker image
-rw-r--r--Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 10bf5b5..463a11d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,10 @@ RUN dotnet restore
RUN dotnet publish -o out
FROM mcr.microsoft.com/dotnet/aspnet:8.0@sha256:4b8f0b08534833b39bb662fb19a65e78cb086f5ca8dd35de3f87026de8885be4
+RUN apt update
+RUN apt install -y imagemagick
+RUN apt clean
+RUN rm -rf /var/lib/apt/lists/*
WORKDIR /App
COPY --from=build /App/out .
ENTRYPOINT [ "dotnet", "HyperBooru.dll" ]