mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-08 00:13:08 +00:00
fixes docker path
This commit is contained in:
parent
fcadceb009
commit
d53b760731
@ -21,6 +21,16 @@ public static class Program
|
|||||||
throw new Exception("Number of concurrent purchases must be > 0");
|
throw new Exception("Number of concurrent purchases must be > 0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var c = new AutoClientCenterAPI.swaggerClient("", new HttpClient());
|
||||||
|
var tasks = await c.TasksAsync();
|
||||||
|
foreach (var task in tasks.Tasks)
|
||||||
|
{
|
||||||
|
foreach (var step in task.Steps)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var log = new LogSplitter(
|
var log = new LogSplitter(
|
||||||
new FileLog(Path.Combine(config.LogPath, "autoclient")),
|
new FileLog(Path.Combine(config.LogPath, "autoclient")),
|
||||||
new ConsoleLog()
|
new ConsoleLog()
|
||||||
|
|||||||
@ -7,10 +7,10 @@ WORKDIR /app
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
ARG BUILD_CONFIGURATION=Release
|
ARG BUILD_CONFIGURATION=Release
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["AutoClientCenter/AutoClientCenter.csproj", "AutoClientCenter/"]
|
COPY ["Tools/AutoClientCenter/AutoClientCenter.csproj", "AutoClientCenter/"]
|
||||||
RUN dotnet restore "./AutoClientCenter/AutoClientCenter.csproj"
|
RUN dotnet restore "./Tools/AutoClientCenter/AutoClientCenter.csproj"
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/AutoClientCenter"
|
WORKDIR "/src/Tools/AutoClientCenter"
|
||||||
RUN dotnet build "./AutoClientCenter.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
RUN dotnet build "./AutoClientCenter.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user