feat: as docker mirror registry

feat: add global proxy config
upgrade: upgrade front(angular) to 19
chore: deployment staff
  1. Dockerfile: build frontend, backend, and run in nginx base image
This commit is contained in:
loveuer
2024-12-23 00:07:44 -08:00
parent aac6c67a5f
commit 6e866b83e4
57 changed files with 22226 additions and 7343 deletions

View File

@ -3,7 +3,7 @@
<button mat-icon-button class="favorite-icon" aria-label="icon-button with heart icon">
<mat-icon>favorite</mat-icon>
</button>
<span>NF Repo</span>
<span>repo.me</span>
<div style="margin-left:auto;">
<button mat-icon-button matTooltip="帮我下载镜像" (click)="downloadImage()">
@ -29,9 +29,9 @@
<td mat-cell *matCellDef="let element">
<button mat-icon-button aria-label="expand row" (click)="showTags($event, element)">
@if (expandedElement === element) {
<mat-icon>keyboard_arrow_up</mat-icon>
<mat-icon>keyboard_arrow_up</mat-icon>
} @else {
<mat-icon>keyboard_arrow_down</mat-icon>
<mat-icon>keyboard_arrow_down</mat-icon>
}
</button>
</td>
@ -74,12 +74,11 @@
<ng-container matColumnDef="expandedDetail">
<td mat-cell *matCellDef="let element" [attr.colspan]="columnsToDisplayWithExpand.length">
<div class="repo-element-detail"
[@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'">
<div class="repo-element-detail" [@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'">
@if (element.Tags) {
@for (tag of element.Tags.list; track tag) {
<mat-chip-option color="primary">{{ tag.tag }}</mat-chip-option>
}
@for (tag of element.Tags.list; track tag) {
<mat-chip-option color="primary">{{ tag.tag }}</mat-chip-option>
}
}
</div>
</td>
@ -87,11 +86,10 @@
<tr mat-header-row *matHeaderRowDef="columnsToDisplayWithExpand"></tr>
<tr mat-row *matRowDef="let element; columns: columnsToDisplayWithExpand;"
class="repo-element-row"
[class.repo-expanded-row]="expandedElement === element"
(click)="expandedElement = expandedElement === element ? null : element">
<tr mat-row *matRowDef="let element; columns: columnsToDisplayWithExpand;" class="repo-element-row"
[class.repo-expanded-row]="expandedElement === element"
(click)="expandedElement = expandedElement === element ? null : element">
</tr>
<tr mat-row *matRowDef="let row; columns: ['expandedDetail']" class="repo-detail-row"></tr>
</table>
</div>
</div>