@@ -1,3 +0,0 @@
|
||||
NEXT_PUBLIC_API_URL=http://localhost:8000
|
||||
NEXT_PUBLIC_WS_URL=ws://localhost:8000
|
||||
NEXT_PUBLIC_MOCK_WS=false
|
||||
+2
-2
@@ -24,7 +24,7 @@ RUN bun run build
|
||||
# --------------------------
|
||||
# Stage 3: Start
|
||||
# --------------------------
|
||||
FROM node:22-alpine AS runner
|
||||
FROM oven/bun:1.3.5-alpine AS runner
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs \
|
||||
&& adduser --system --uid 1001 nextjs \
|
||||
@@ -39,4 +39,4 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
USER nextjs
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["dumb-init", "node", "server.js"]
|
||||
CMD ["dumb-init", "bun", "server.js"]
|
||||
|
||||
@@ -6,7 +6,7 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
env_file:
|
||||
- .env
|
||||
- .env.production
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
|
||||
Reference in New Issue
Block a user