Updated image to node:lts-alpine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user