From 51ff0d539b453981810537f8e4b069e071ad11f5 Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Wed, 15 Jan 2025 07:12:01 +0100
Subject: [PATCH] Fix dockerfile

---
 support/docker/production/Dockerfile.bookworm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/support/docker/production/Dockerfile.bookworm b/support/docker/production/Dockerfile.bookworm
index 757205add..05e569ba2 100644
--- a/support/docker/production/Dockerfile.bookworm
+++ b/support/docker/production/Dockerfile.bookworm
@@ -9,13 +9,13 @@ RUN apt update \
  && rm /var/lib/apt/lists/* -fR
 
 # Node images hardcode the node uid to 1000 so that number is not available.
-# The "peertube" user is created as a system account which selects a UID from 
+# The "peertube" user is created as a system account which selects a UID from
 # the range of SYS_UID_MIN to SYS_UID_MAX (-1 to 1000] and consistently
 # selects 999 given the current image build steps. The same is true for the
 # system group range SYS_GID_MIN and SYS_GID_MAX. It is fine to manually assign
 # them an ID outside of that range.
-DEFAULT_PEERTUBE_UID=999
-DEFAULT_PEERTUBE_GID=999
+ENV DEFAULT_PEERTUBE_UID=999
+ENV DEFAULT_PEERTUBE_GID=999
 
 # Add peertube user
 RUN groupadd -r -g ${PEERTUBE_GID:-${DEFAULT_PEERTUBE_GID}} peertube \