From 062878f27f13286a9070cd0c28357785936e076d Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 18 May 2025 23:49:11 +0200 Subject: [PATCH] add missing imagemagick to Docker image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0900b9d..9fb4bee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ WORKDIR /rails # Install base packages RUN apt-get update -qq && \ - apt-get install --no-install-recommends -y curl libjemalloc2 libvips libpq-dev nodejs telnet && \ + apt-get install --no-install-recommends -y curl libjemalloc2 libvips libpq-dev nodejs telnet imagemagick && \ rm -rf /var/lib/apt/lists /var/cache/apt/archives # Set production environment @@ -75,7 +75,7 @@ COPY --from=build /rails /rails # Run and own only the runtime files as a non-root user for security RUN groupadd --system --gid 1000 rails && \ useradd rails --uid 1000 --gid 1000 --create-home --shell /bin/bash && \ - chown -R rails:rails db log tmp + chown -R rails:rails db log tmp public USER 1000:1000 # Entrypoint prepares the database.