From 394dbb818c232e39bcdaf363f1b78a1fb7a07918 Mon Sep 17 00:00:00 2001
From: Leonardo <leomilho@gmail.com>
Date: Sun, 22 Dec 2024 19:12:13 +0100
Subject: [PATCH] chore: include more deps for service to support canvas-based
 plotly image generation

---
 Dockerfile | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index b22a06f..da98eaa 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,20 @@ WORKDIR /usr/src/app
 # install dependencies into temp directory
 # this will cache them and speed up future builds
 RUN apk add --no-cache git
-RUN apk add --no-cache python3
+
+# Install dependencies for building canvas
+RUN apk add --no-cache \
+    python3 \
+    make \
+    g++ \
+    pkgconf \
+    pixman-dev \
+    cairo-dev \
+    pango-dev \
+    libjpeg-turbo-dev \
+    giflib-dev \
+    freetype-dev \
+    fontconfig-dev
 
 RUN mkdir /app
 WORKDIR /app
-- 
GitLab