diff options
| author | Priyankar Pal <88102392+priyankarpal@users.noreply.github.com> | 2025-06-26 11:35:55 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 11:35:55 +0530 |
| commit | 4ed9858725ebfbc95f6e470e118b37aa1079f7d0 (patch) | |
| tree | ae63f6e77cf738cab0a56e9eb865839742b9d163 /apps/web/Dockerfile | |
| parent | c322ad1124aea02169b2094498cac5b6da54dd5b (diff) | |
| parent | a8d6bbd03a4c5a89075d75ea37b61afa5efe373a (diff) | |
| download | opencut-4ed9858725ebfbc95f6e470e118b37aa1079f7d0.tar.gz | |
Merge branch 'main' into split-issue-83
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
|
