Use fully qualified image name in frontend Dockerfile

This commit is contained in:
continuist 2025-09-20 13:15:02 -04:00
parent 8f6d55ee73
commit 4a60bf5b94

View file

@ -1,5 +1,5 @@
# Multi-stage build for Next.js frontend # Multi-stage build for Next.js frontend
FROM node:20-alpine AS builder FROM docker.io/node:20-alpine AS builder
# Set working directory # Set working directory
WORKDIR /app WORKDIR /app
@ -17,7 +17,7 @@ COPY . .
RUN npm run build RUN npm run build
# Production stage # Production stage
FROM node:20-alpine AS runner FROM docker.io/node:20-alpine AS runner
# Create non-root user # Create non-root user
RUN addgroup --system --gid 1001 nodejs RUN addgroup --system --gid 1001 nodejs