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");
|
||||
}
|
||||
|
||||
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()
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user