Added ebug code to docker fiiles
This commit is contained in:
@@ -9,7 +9,11 @@ WORKDIR /app_source
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN --network=host dotnet restore "LiteCharmsSecurity.sln"
|
||||
RUN --network=host dotnet restore "LiteCharmsSecurity.sln" --verbosity normal > /tmp/restore_error.log 2>&1 || true
|
||||
|
||||
RUN cat /tmp/restore_error.log
|
||||
|
||||
RUN if grep -q "error" /tmp/restore_error.log; then exit 1; fi
|
||||
|
||||
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