feat(docker): copy git metadata into admin container #13

Merged
amit merged 1 commits from git-info-container into main 2026-10-10 09:52:15 +00:00
2 changed files with 7 additions and 0 deletions

4
.gitignore vendored
View File

@ -27,3 +27,7 @@ dist-ssr
.env
.env.*
!.env.example
# Generated Git Info
.git_*_info

View File

@ -27,6 +27,9 @@ RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html
# Copy git info metadata if generated on host
COPY .git_admin_info* /app/.git_admin_info
RUN ln -sf /usr/share/nginx/html /usr/share/nginx/html/admin
EXPOSE 80