fixes docker path

This commit is contained in:
benbierens 2024-09-11 14:26:28 +02:00
parent fcadceb009
commit d53b760731
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A
2 changed files with 13 additions and 3 deletions

View File

@ -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()

View File

@ -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