chore: update Node.js version in Dockerfile to 24.9-alpine3.21

This commit is contained in:
Tudor Stanciu 2025-10-03 18:47:36 +03:00
parent 345ed9c68c
commit ed46132f64

View File

@ -1,6 +1,6 @@
# Multi-stage Dockerfile for Bitip GeoIP Service
# Stage 1: Build frontend
FROM node:18-alpine as frontend-builder
FROM node:24.9-alpine3.21 AS frontend-builder
WORKDIR /app/frontend
@ -15,7 +15,7 @@ COPY src/frontend/ ./
RUN npm run build
# Stage 2: Build backend
FROM node:18-alpine as backend-builder
FROM node:24.9-alpine3.21 AS backend-builder
WORKDIR /app/backend
@ -31,7 +31,7 @@ COPY src/backend/ ./
RUN npm run build
# Stage 3: Production image
FROM node:18-alpine
FROM node:24.9-alpine3.21
# Build arguments for versioning
ARG CREATED_AT=unknown