fix: I dunno, I'm making git server changes

This commit is contained in:
Eric Gullickson
2025-12-29 08:44:49 -06:00
parent 57d2c43da7
commit 9b0de6a5b8
18 changed files with 2584 additions and 512 deletions

View File

@@ -1,7 +1,11 @@
# Production Dockerfile for MotoVaultPro Frontend
# Uses mirrored base images from GitLab Container Registry
# Stage 1: Base with dependencies
FROM node:lts-alpine AS base
# Build argument for registry (defaults to GitLab mirrors, falls back to Docker Hub)
ARG REGISTRY_MIRRORS=registry.motovaultpro.com/mirrors
# Stage 1: Base with dependencies
FROM ${REGISTRY_MIRRORS}/node:20-alpine AS base
RUN apk add --no-cache dumb-init curl
WORKDIR /app
COPY package*.json ./
@@ -29,7 +33,7 @@ COPY . .
RUN npm run build
# Stage 4: Production stage with nginx
FROM nginx:alpine AS production
FROM ${REGISTRY_MIRRORS}/nginx:alpine AS production
# Add curl for healthchecks
RUN apk add --no-cache curl