Files
acuna_homepage/Dockerfile
Lorenzo Venerandi dc82d6bd2d
All checks were successful
Build and Deploy / build (push) Successful in 18s
Build and Deploy / Deploy to target (push) Successful in 3s
moved images and projects under res
2025-10-14 13:17:22 +02:00

14 lines
437 B
Docker

# Dockerfile per servire il sito statico con nginx
# Usa una immagine nginx leggera e aggiornata
## Uso un tag specifico (major.minor) per maggiore riproducibilità e per limitare warning di vulnerabilità
FROM nginx:1.25-alpine
# Rimuove il contenuto di default e copia i file del sito
RUN rm -rf /usr/share/nginx/html/*
COPY . /usr/share/nginx/html
# Espone porta 80
EXPOSE 80
# Comando di default
CMD ["nginx", "-g", "daemon off;"]