change functionality req from ssr to csr

set dockerfile

reset dockerfile

fix dockerfile

fix dockerfile

use node 22

fix dockerfile

fix dockerfile
This commit is contained in:
2025-06-29 20:13:42 +03:30
parent debd6b0eb5
commit 5b90f7dfad
8 changed files with 34 additions and 23 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
# Dockerfile for Next.js 14 - Optimized for Production
# Use the official Node.js image with Alpine Linux for a smaller footprint
FROM node:20-alpine AS base
FROM node:22-alpine AS base
# Set the working directory in the container
WORKDIR /app
@@ -19,7 +19,7 @@ COPY . .
RUN npm run build || yarn build
# Stage 2: Production image - smaller and leaner
FROM node:20-alpine AS runner
FROM node:22-alpine AS runner
# Set the working directory
WORKDIR /app