mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-02-21 16:37:21 +08:00
chore: fix security policy for ImageMagick
This commit is contained in:
parent
f3b3c7fb47
commit
6d898b7f6e
@ -10,6 +10,9 @@ RUN apt-get update && apt-get install -y \
|
||||
imagemagick \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Fix security policy for ImageMagick
|
||||
RUN sed -i '/<policy domain="path" rights="none" pattern="@\*"/d' /etc/ImageMagick-6/policy.xml
|
||||
|
||||
# Copy the current directory contents into the container at /usr/src/app
|
||||
COPY . .
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user