Initial commit

This commit is contained in:
Iceberg
2026-04-20 17:59:24 +00:00
commit a43f8de3e4
51 changed files with 9695 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# =========================
# Build stage
# =========================
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# =========================
# Runtime stage
# =========================
FROM node:20-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
# Copy only minimal Next standalone output
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
COPY --from=builder /app/public ./public
EXPOSE 3000
CMD ["node", "server.js"]