CI/CD test
Some checks failed
Deploy faithshort to production / deploy (push) Failing after 10s

This commit is contained in:
2025-12-11 17:43:28 +00:00
parent 0984a94cdd
commit 802e2185c4
3 changed files with 73 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM ubuntu:latest
LABEL authors="KAKOU CYR LEONCE ANICET"
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM node:22-alpine
WORKDIR /app
ENV NODE_ENV=production
COPY package*.json ./
RUN npm install --omit=dev
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public
EXPOSE 3000
CMD ["npm", "run", "start"]