feat:dockerized & test actions added
Runner Test / hello (push) Successful in 5s

This commit is contained in:
2026-09-05 13:21:22 +03:30
parent df6cb33731
commit ed5eead80f
7 changed files with 160 additions and 40 deletions
+29
View File
@@ -0,0 +1,29 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:20-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
ENV HOSTNAME=0.0.0.0
COPY --from=builder /app/public ./public
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
EXPOSE 3000
CMD ["node", "server.js"]