This commit is contained in:
linmeideli committed 2026-06-13 10:10:55 +08:00
1 parent d7d16f25c4
commit 64f4e383ed
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -75,6 +75,7 @@ jobs:
VERSIONSUFFIX=docker
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
- name: Export Docker image to tar
run: docker save empostor-server:${{ matrix.arch.rid }} -o empostor-server-docker-${{ matrix.arch.rid }}.tar
+2 -2
View File
@@ -57,11 +57,11 @@ RUN case "$TARGETARCH" in \
-p:VersionSuffix="$VERSIONSUFFIX" \
-o /app
# Copy runtime assets
# Copy default config (must be overridden in production)
RUN cp ./src/Empostor.Server/config.json /app/config.json 2>/dev/null || true
# ── Runtime stage ──────────────────────────
FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0
FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app