summaryrefslogtreecommitdiff
path: root/apps/web/Dockerfile
diff options
context:
space:
mode:
authorga1az <ga1az@outlook.com>2025-06-24 23:59:42 -0400
committerga1az <ga1az@outlook.com>2025-06-24 23:59:42 -0400
commit1f2c505efea465a1ff8c8c0e435490dfe16637ec (patch)
treea38d5f0c67b5e20241989cabc222554ba2337105 /apps/web/Dockerfile
parent547f566fc20466df0eac5a8ef78642d21ee5c0a9 (diff)
downloadopencut-1f2c505efea465a1ff8c8c0e435490dfe16637ec.tar.gz
chore(docker): enhance Dockerfile by adding dependency installation step and removing redundant NODE_ENV variable
Diffstat (limited to 'apps/web/Dockerfile')
-rw-r--r--apps/web/Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile
index 49820e78..8b13ce38 100644
--- a/apps/web/Dockerfile
+++ b/apps/web/Dockerfile
@@ -1,5 +1,6 @@
FROM oven/bun:alpine AS base
+# Install dependencies and build the application
FROM base AS builder
WORKDIR /app
@@ -18,7 +19,6 @@ COPY apps/web/ apps/web/
COPY packages/db/ packages/db/
COPY packages/auth/ packages/auth/
-ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
WORKDIR /app/apps/web
@@ -28,7 +28,6 @@ RUN bun run build
FROM base AS runner
WORKDIR /app
-ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
RUN addgroup --system --gid 1001 nodejs