test node version

This commit is contained in:
Suchin Sapphasitthatha 2025-08-05 05:32:09 +00:00
parent d1873b6c6b
commit 26ca23213c

View file

@ -1,5 +1,5 @@
# Build Stage # Build Stage
FROM node:lts-alpine AS build-stage FROM node:22.18.0-alpine AS build-stage
# Create app directory # Create app directory
WORKDIR /app WORKDIR /app
@ -14,7 +14,7 @@ COPY . .
RUN npm run build RUN npm run build
# Production Stage # Production Stage
FROM node:lts-alpine FROM node:22.18.0-alpine
ENV NODE_ENV production ENV NODE_ENV production
USER node USER node