Updated image to node:lts-alpine

This commit is contained in:
Eric Gullickson
2025-12-20 12:16:58 -06:00
parent 065fed8d98
commit 513df9c027
4 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
# Production Dockerfile for MotoVaultPro Backend
# Stage 1: Build stage
FROM node:20-alpine AS builder
FROM node:lts-alpine AS builder
# Install build dependencies
RUN apk add --no-cache dumb-init git curl
@@ -22,7 +22,7 @@ COPY . .
RUN npm run build
# Stage 2: Production runtime
FROM node:20-alpine AS production
FROM node:lts-alpine AS production
# Install runtime dependencies only
RUN apk add --no-cache dumb-init curl

View File

@@ -42,7 +42,7 @@ services:
context: ./frontend
dockerfile: Dockerfile
cache_from:
- node:20-alpine
- node:lts-alpine
- nginx:alpine
args:
VITE_AUTH0_DOMAIN: ${VITE_AUTH0_DOMAIN:-motovaultpro.us.auth0.com}
@@ -89,7 +89,7 @@ services:
context: ./backend
dockerfile: Dockerfile
cache_from:
- node:20-alpine
- node:lts-alpine
container_name: mvp-backend
restart: unless-stopped
environment:

View File

@@ -133,7 +133,7 @@ MotoVaultPro is a single-tenant vehicle management application built with a **6-
### Frontend (React SPA)
- **Technology**: React 18 + Vite + TypeScript
- **Build**: Multi-stage Dockerfile (node:20-alpine → nginx:alpine)
- **Build**: Multi-stage Dockerfile (node:lts-alpine → nginx:alpine)
- **Port**: 3000 (internal)
- **Networks**: frontend
- **Dependencies**: Backend (API calls)
@@ -147,7 +147,7 @@ MotoVaultPro is a single-tenant vehicle management application built with a **6-
### Backend (Node.js API)
- **Technology**: Node.js 20 + Fastify + TypeScript
- **Build**: Production build in node:20-alpine
- **Build**: Production build in node:lts-alpine
- **Port**: 3001 (internal)
- **Networks**: backend, database
- **Dependencies**: PostgreSQL, Redis, Platform

View File

@@ -1,7 +1,7 @@
# Production Dockerfile for MotoVaultPro Frontend
# Stage 1: Base with dependencies
FROM node:20-alpine AS base
FROM node:lts-alpine AS base
RUN apk add --no-cache dumb-init curl
WORKDIR /app
COPY package*.json ./