first commit
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
Build and Deploy / build (push) Has been cancelled

This commit is contained in:
2026-01-23 09:59:19 +01:00
commit 2eddd152d7
17 changed files with 1895 additions and 0 deletions

30
Dockerfile Normal file
View File

@@ -0,0 +1,30 @@
# Build stage
FROM node:20-alpine AS build
WORKDIR /app
# Copia i file di dipendenze
COPY package*.json ./
# Installa le dipendenze
RUN npm ci
# Copia il resto dei file
COPY . .
# Build dell'applicazione
RUN npm run build
# Production stage
FROM nginx:alpine
# Copia i file buildati
COPY --from=build /app/dist /usr/share/nginx/html
# Copia la configurazione nginx personalizzata
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Espone la porta 80
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]