feat: Add Dockerfile and docker-compose.yml for project containerization

This commit is contained in:
supalerk-ar66 2026-02-05 14:15:19 +07:00
parent f689894de5
commit 91330c03c2
2 changed files with 3 additions and 4 deletions

View file

@ -1,5 +1,5 @@
# --- Build Stage ---
FROM node:20-alpine AS build-stage
FROM node:20-bullseye-slim AS build-stage
# กำหนดโฟลเดอร์ทำงานใน Container
WORKDIR /app
@ -17,7 +17,7 @@ COPY . .
RUN npm run build
# --- Production Stage ---
FROM node:20-alpine AS production-stage
FROM node:20-bullseye-slim AS production-stage
# กำหนดโฟลเดอร์ทำงาน
WORKDIR /app