From 654f2d18d302fdc83f6fc8392d9a403f960e985c Mon Sep 17 00:00:00 2001 From: millianlmx Date: Sat, 11 Jul 2026 23:23:04 +0200 Subject: [PATCH] revert: remove admin-web/Dockerfile (did not exist at 29caf1a) --- admin-web/Dockerfile | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 admin-web/Dockerfile diff --git a/admin-web/Dockerfile b/admin-web/Dockerfile deleted file mode 100644 index 77ea032..0000000 --- a/admin-web/Dockerfile +++ /dev/null @@ -1,42 +0,0 @@ -# ── Build stage ── -FROM node:20-alpine AS builder - -WORKDIR /app - -# Install dependencies (leveraging Docker layer cache) -COPY package.json package-lock.json ./ -RUN npm ci - -# Copy source and build -COPY . . -ENV NEXT_TELEMETRY_DISABLED=1 -RUN npm run build - -# ── Runtime stage ── -FROM node:20-alpine AS runner - -WORKDIR /app - -ENV NODE_ENV=production -ENV NEXT_TELEMETRY_DISABLED=1 - -# Create non-root user -RUN addgroup --system --gid 1001 nodejs && \ - adduser --system --uid 1001 nextjs - -# Copy standalone output from builder -COPY --from=builder /app/.next/standalone ./ -COPY --from=builder /app/.next/static ./.next/static -COPY --from=builder /app/public ./public - -# Set correct ownership -RUN chown -R nextjs:nodejs /app - -USER nextjs - -EXPOSE 3000 - -ENV PORT=3000 -ENV HOSTNAME="0.0.0.0" - -CMD ["node", "server.js"]