mirror of
https://dev.azure.com/tstanciu94/PhantomMind/_git/Bitip
synced 2025-10-13 01:52:19 +03:00
chore: update Node.js version in Dockerfile to 24.9-alpine3.21
This commit is contained in:
parent
345ed9c68c
commit
ed46132f64
@ -1,6 +1,6 @@
|
|||||||
# Multi-stage Dockerfile for Bitip GeoIP Service
|
# Multi-stage Dockerfile for Bitip GeoIP Service
|
||||||
# Stage 1: Build frontend
|
# Stage 1: Build frontend
|
||||||
FROM node:18-alpine as frontend-builder
|
FROM node:24.9-alpine3.21 AS frontend-builder
|
||||||
|
|
||||||
WORKDIR /app/frontend
|
WORKDIR /app/frontend
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ COPY src/frontend/ ./
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Stage 2: Build backend
|
# Stage 2: Build backend
|
||||||
FROM node:18-alpine as backend-builder
|
FROM node:24.9-alpine3.21 AS backend-builder
|
||||||
|
|
||||||
WORKDIR /app/backend
|
WORKDIR /app/backend
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ COPY src/backend/ ./
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Stage 3: Production image
|
# Stage 3: Production image
|
||||||
FROM node:18-alpine
|
FROM node:24.9-alpine3.21
|
||||||
|
|
||||||
# Build arguments for versioning
|
# Build arguments for versioning
|
||||||
ARG CREATED_AT=unknown
|
ARG CREATED_AT=unknown
|
||||||
|
Loading…
x
Reference in New Issue
Block a user