FORCE BuildKit to use the host network interface to clear DNS/handshake resolution
This commit is contained in:
@@ -9,7 +9,7 @@ WORKDIR /app_source
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN dotnet restore "LiteCharmsSecurity.sln"
|
||||
RUN --network=host dotnet restore "LiteCharmsSecurity.sln"
|
||||
|
||||
WORKDIR "/app_source/src/LiteCharmsSecurity.Admin.Api"
|
||||
RUN dotnet build "LiteCharmsSecurity.Admin.Api.csproj" -c Release -o /app/build
|
||||
|
||||
Reference in New Issue
Block a user