16 lines
444 B
Docker
16 lines
444 B
Docker
FROM nginx:alpine
|
|
|
|
# Copia configuração do Nginx (cache leve para assets, SPA fallback)
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Copia arquivos estáticos do dashboard
|
|
COPY index.html /usr/share/nginx/html/index.html
|
|
COPY assets /usr/share/nginx/html/assets
|
|
|
|
# Porta padrão já exposta na imagem base (80)
|
|
|
|
# Dica: para rodar
|
|
# docker build -t dashboard_telseg .
|
|
# docker run --name dashboard_telseg -p 8080:80 -d dashboard_telseg
|
|
|