first commit

This commit is contained in:
Omar Ahmed
2025-10-01 01:10:54 +03:00
commit 89b0955c24
16 changed files with 1768 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Stage 1: Build
FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Stage 2: Run
FROM node:18-alpine
WORKDIR /app
COPY --from=builder /app ./
EXPOSE 3000
ENV PORT=3000
CMD ["npx", "next", "start", "-p", "3000"]