diff --git a/apps/lychee/Dockerfile b/apps/lychee/Dockerfile
index 997f92e0b..d1d5b0ffa 100644
--- a/apps/lychee/Dockerfile
+++ b/apps/lychee/Dockerfile
@@ -35,7 +35,7 @@ RUN apt-get update && \
curl && \
rm -rf /var/lib/apt/lists/* && \
echo "**** configure imagemagick policy ****" && \
- sed -i '/<\/policymap>/i \ ' /etc/ImageMagick-6/policy.xml && \
+ sed -i '/<\/policymap>/i \ ' /etc/ImageMagick-7/policy.xml && \
echo "**** install composer ****" && \
curl -sS https://getcomposer.org/installer | php8.5 -- --install-dir=/usr/local/bin --filename=composer && \
update-alternatives --set php /usr/bin/php8.5
diff --git a/apps/snipe-it/Dockerfile b/apps/snipe-it/Dockerfile
index 16f8a62a1..cb73deec7 100644
--- a/apps/snipe-it/Dockerfile
+++ b/apps/snipe-it/Dockerfile
@@ -36,7 +36,7 @@ RUN \
/tmp/snipeit.tar.gz -C \
/app/www/ --strip-components=1 && \
cp /app/www/docker/docker.env /app/www/.env && \
- composer install --no-dev -d /app/www && \
+ composer install --no-dev --ignore-platform-req=php -d /app/www && \
echo "**** move storage directories to defaults ****" && \
mkdir -p /defaults && \
mv \