Merge branch 'master' of http://192.168.195.14:3000/outsource/mi-assessment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
7a184da174
|
|
@ -20,6 +20,13 @@ RUN dotnet publish "src/MiAssessment.Admin/MiAssessment.Admin.csproj" -c Release
|
|||
|
||||
# ==================== 最终运行阶段 ====================
|
||||
FROM 192.168.195.25:19900/library/dotnet/aspnet:10.0-preview AS final
|
||||
|
||||
# 安装 SkiaSharp 验证码生成所需的原生依赖
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libfontconfig1 \
|
||||
libfreetype6 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/publish .
|
||||
COPY --from=frontend /app/dist ./wwwroot
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user