Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions SystemAdmin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ EXPOSE 8081

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release

WORKDIR /src
COPY ["SystemAdmin.csproj", "."]
RUN dotnet restore "./SystemAdmin.csproj"
COPY ["SystemAdmin/SystemAdmin.csproj", "SystemAdmin/"]

RUN dotnet restore "./SystemAdmin/./SystemAdmin.csproj"

COPY . .
WORKDIR "/src/."
WORKDIR "/src/SystemAdmin"
RUN dotnet build "./SystemAdmin.csproj" -c $BUILD_CONFIGURATION -o /app/build

FROM build AS publish
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pool:
vmImage: 'ubuntu-latest'

variables:
AZURE_CONTAINER_APP_NAME: 'gateway-global-integration-ui-iac'
AZURE_CONTAINER_APP_NAME: 'gateway-global-int-ui-iac'
RESOURCE_GROUP: 'Gateway-Resources-IAC'
DOCKER_IMAGE: 'attonbomb/systemadmin' # Replace with your Docker Hub image path
AZURE_SUBSCRIPTION: 'Gateway-Resources-IAC-MI-Conn-2'
Expand Down
Loading