gated
All checks were successful
Deploy to Server / deploy (push) Successful in 14s

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-29 06:25:42 +00:00
parent 36139d08fc
commit 48e7614029
5 changed files with 151 additions and 25 deletions

View File

@@ -1,11 +1,9 @@
FROM node:20-alpine AS build
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["node", "server.js"]