We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a88163c commit fb11675Copy full SHA for fb11675
1 file changed
php/8.2-laravel.Dockerfile
@@ -37,8 +37,9 @@ RUN apt update -qq && apt install --no-install-recommends -y -qq \
37
&& apt-get clean \
38
&& rm -rf /var/lib/apt/lists/*
39
40
-# Install weasyprint pip
41
-RUN pip install weasyprint --break-system-packages
+# Install weasyprint pip & create symlink mimic weasyprint from apt (used for laravel deps)
+RUN pip install weasyprint --break-system-packages \
42
+ && ln -s /usr/local/bin/weasyprint /usr/bin/weasyprint
43
44
# Install yarn
45
RUN npm install -s --global yarn
0 commit comments