2
0
mirror of synced 2025-02-02 19:53:29 +00:00

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");
}
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(
new FileLog(Path.Combine(config.LogPath, "autoclient")),
new ConsoleLog()

View File

@ -7,10 +7,10 @@ WORKDIR /app
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["AutoClientCenter/AutoClientCenter.csproj", "AutoClientCenter/"]
RUN dotnet restore "./AutoClientCenter/AutoClientCenter.csproj"
COPY ["Tools/AutoClientCenter/AutoClientCenter.csproj", "AutoClientCenter/"]
RUN dotnet restore "./Tools/AutoClientCenter/AutoClientCenter.csproj"
COPY . .
WORKDIR "/src/AutoClientCenter"
WORKDIR "/src/Tools/AutoClientCenter"
RUN dotnet build "./AutoClientCenter.csproj" -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish