main: add many things to app :)
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
+4
-4
@@ -22,8 +22,8 @@ COPY . .
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# Build the application
|
||||
RUN bun run build
|
||||
# Build the application with --bun flag to use Bun runtime
|
||||
RUN bun --bun run build
|
||||
|
||||
# Stage 3: Runner
|
||||
FROM oven/bun:1-alpine AS runner
|
||||
@@ -56,5 +56,5 @@ EXPOSE 3000
|
||||
ENV PORT=3000
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
|
||||
# Start the application with Bun
|
||||
CMD ["bun", "run", "server.js"]
|
||||
# Start the application with Bun runtime
|
||||
CMD ["bun", "--bun", "run", "server.js"]
|
||||
|
||||
Reference in New Issue
Block a user