Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 48s

This commit is contained in:
Warunee Tamkoo 2025-09-22 10:09:21 +07:00
commit ffe9e03a91
2 changed files with 792 additions and 594 deletions

View file

@ -1,5 +1,5 @@
# Build Stage
FROM node:lts-alpine AS build-stage
FROM node:22.17.1-alpine AS build-stage
# Create app directory
WORKDIR /app
@ -7,17 +7,17 @@ WORKDIR /app
# Install app dependencies
COPY package*.json ./
RUN npm ci
RUN npm install
# Copy source files and build the app
COPY . .
#RUN npm ci
RUN npm run build
# Production Stage
FROM node:lts-alpine
ENV NODE_ENV production
USER node
# Create app directory
WORKDIR /app
@ -27,7 +27,9 @@ COPY --from=build-stage /app/dist ./dist
# Install only production dependencies
COPY package*.json ./
RUN npm ci --production
#RUN npm ci --production
RUN npm install
USER node
# Define the entrypoint and default command
# If you have a custom entrypoint script

File diff suppressed because it is too large Load diff