Simplified: remove Tailwind, standalone static HTML
Some checks failed
Deploy to Easypanel / deploy (push) Has been cancelled

This commit is contained in:
Kunthawat Greethong
2026-04-28 10:18:57 +07:00
parent ad3bd39c2d
commit 18c4dbdb84
14 changed files with 97 additions and 362 deletions

View File

@@ -1,22 +1,14 @@
FROM node:22-alpine AS builder
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM node:22-alpine AS runner
WORKDIR /app
ENV PORT=8080
ENV DIST_DIR=./dist
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/server.js .
EXPOSE 8080
EXPOSE 4321
CMD ["node", "server.js"]