ci: reuse NativeAOT build image [CI]
This commit is contained in:
1 parent
b9c620304c
commit
98a5e67f82
2 files changed
+2
-5
No files matched your search
+1
-4
@@ -7,11 +7,8 @@ COPY packages/core/ ./packages/core/
|
||||
COPY web/ ./web/
|
||||
RUN npm run build --prefix web
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0-noble-aot AS build
|
||||
WORKDIR /src
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends clang zlib1g-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY server/Directory.Build.props ./server/
|
||||
COPY server/src/WebDrop.Api/WebDrop.Api.csproj ./server/src/WebDrop.Api/
|
||||
COPY server/src/WebDrop.Core/WebDrop.Core.csproj ./server/src/WebDrop.Core/
|
||||
|
||||
Reference in new issue
Block a user