From 172a0f887fbae6806e8c0101c802011747ff940f Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Sun, 6 Apr 2025 16:36:06 +0200 Subject: [PATCH] chore: docker mistake actually made the image not have ffmpeg lol --- apps/web/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index e83b8c9..dfac7af 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -17,7 +17,7 @@ RUN turbo prune @hctv/web --docker # Add lockfile and package.json's of isolated subworkspace FROM base AS installer RUN apk update -RUN apk add --no-cache libc6-compat ffmpeg +RUN apk add --no-cache libc6-compat WORKDIR /app # First install the dependencies (as they change less often) @@ -29,7 +29,9 @@ RUN --mount=type=secret,id=TURBO_TOKEN --mount=type=secret,id=TURBO_TEAM TURBO_T FROM base AS runner WORKDIR /app - + +RUN RUN apk add --no-cache ffmpeg + # Don't run production as root RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs