Skip to content

A self-hosted media server and file management system

fix: docker frontend does not build as production

aminnausin856a24207cfe
diff --git a/Dockerfile b/Dockerfile
index 37e80d2f..9c899743 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -35,6 +35,9 @@ FROM node:24.2-alpine AS builder
WORKDIR /var/www/html
COPY . .
+
+ENV APP_ENV=production
+
RUN npm ci
RUN npm run build-only && \