fixing build node version

This commit is contained in:
Warunee Tamkoo 2024-12-06 11:24:47 +07:00
parent 27bf12fc23
commit af7b828498

View file

@ -1,7 +1,7 @@
# docker buildx build --platform=linux/amd64 -f docker/Dockerfile . -t hrms-git.chin.in.th/bma-hrms/hrms-admin:0.1 # docker buildx build --platform=linux/amd64 -f docker/Dockerfile . -t hrms-git.chin.in.th/bma-hrms/hrms-admin:0.1
# Build Stage # Build Stage
FROM node:latest as build-stage FROM node:20-alpine as build-stage
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm install RUN npm install