fix: robust git commit hash detection via fs, env vars and docker support

This commit is contained in:
2026-10-15 14:58:06 -03:00
parent d8500cf433
commit 3dfc430c85
4 changed files with 95 additions and 8 deletions
+3
View File
@@ -1,6 +1,9 @@
# Estágio 1: Build da aplicação React
FROM node:20-alpine AS builder
# Instala git para resolução da versão de commit durante o build
RUN apk add --no-cache git
WORKDIR /app
# Copia manifestos de dependência