diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-25 21:02:40 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-25 21:02:40 +0200 |
| commit | 27b0e51265af18a802cef4f245c075894d290b53 (patch) | |
| tree | 7c9b24b1820592b13b406c64485a3c8dbff6b311 /apps/web/Dockerfile | |
| parent | ebcb898e4e70805b556a25ac0a293d67a800fc59 (diff) | |
| parent | ffb6a35e20195a81851afdd8dcaa09eb9188f315 (diff) | |
| download | opencut-27b0e51265af18a802cef4f245c075894d290b53.tar.gz | |
Merge branch 'main' of https://github.com/mazeincoding/AppCut
Diffstat (limited to 'apps/web/Dockerfile')
| -rw-r--r-- | apps/web/Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 8b13ce38..46eeb102 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -19,7 +19,8 @@ COPY apps/web/ apps/web/ COPY packages/db/ packages/db/
COPY packages/auth/ packages/auth/
-ENV NEXT_TELEMETRY_DISABLED=1
+ENV NODE_ENV production
+ENV NEXT_TELEMETRY_DISABLED 1
WORKDIR /app/apps/web
RUN bun run build
@@ -28,7 +29,8 @@ RUN bun run build FROM base AS runner
WORKDIR /app
-ENV NEXT_TELEMETRY_DISABLED=1
+ENV NODE_ENV production
+ENV NEXT_TELEMETRY_DISABLED 1
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
|
