From 2e6bb7053c606a3db500f02d6d3cd5c80a7f22e5 Mon Sep 17 00:00:00 2001 From: theoleuthardt Date: Sat, 22 Feb 2025 22:29:47 +0100 Subject: [PATCH] fix: added dependencies to Dockerfile --- backend/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 6583c94..5b753bd 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -2,7 +2,11 @@ FROM node:18-alpine AS base # Install system dependencies -RUN apk add --no-cache libc6-compat libreoffice ttf-liberation +RUN apk add --no-cache libc6-compat libreoffice ttf-liberation ffmpeg +RUN apk add --update --no-cache python3 py3-pip \ + && ln -sf python3 /usr/bin/python \ + && pip3 install --no-cache --upgrade pip setuptools \ +RUN pip3 install --no-cache watchdog gradio rembg WORKDIR /app