Files
Puechberty Arthur ab4b8b2924 chore: update dependencies and add postcss configuration
- Updated Next.js to version 16.2.4
- Updated Tailwind CSS and PostCSS to their latest versions
- Added autoprefixer to PostCSS configuration
- Created a .dockerignore file to exclude unnecessary files from Docker context
2026-04-25 22:34:39 +02:00

23 lines
415 B
Docker

# ---------- BASE ----------
FROM node:20-alpine
WORKDIR /app
# ---------- INSTALL DEPS ----------
COPY package.json package-lock.json* ./
RUN npm ci
# ---------- COPY SOURCE ----------
COPY . .
# ---------- BUILD (OBLIGATOIRE POUR next start) ----------
RUN npm run build
# ---------- ENV ----------
ENV NODE_ENV=production
ENV PORT=3000
EXPOSE 3000
# ---------- START ----------
CMD ["npm", "run", "start"]