feat: Add Dockerfile for Frontend-Learner application containerization.

This commit is contained in:
supalerk-ar66 2026-02-05 15:35:52 +07:00
parent 9a6b4e3e0d
commit 013939a1fe

View file

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