-
Notifications
You must be signed in to change notification settings - Fork 0
Point ArgoCD at ordermanager-iac; fix stale monolith references #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,11 @@ | ||
| # Stage 1: Build Angular client | ||
| FROM node:20-alpine AS client-build | ||
| WORKDIR /app/client | ||
| COPY client-app/package*.json ./ | ||
| RUN npm ci | ||
| COPY client-app/ ./ | ||
| RUN npm run build | ||
| WORKDIR /app | ||
| COPY client-app/package*.json client-app/ | ||
| RUN cd client-app && npm ci | ||
| COPY client-app/ client-app/ | ||
| # angular.json outputs to ../src/OrderManager.Api/wwwroot (browser/ subfolder) | ||
| RUN cd client-app && npm run build | ||
|
|
||
| # Stage 2: Build .NET API | ||
| FROM mcr.microsoft.com/dotnet/sdk:8.0 AS api-build | ||
|
|
@@ -14,7 +15,7 @@ COPY src/OrderManager.Api/OrderManager.Api.csproj src/OrderManager.Api/ | |
| COPY tests/OrderManager.Api.Tests/OrderManager.Api.Tests.csproj tests/OrderManager.Api.Tests/ | ||
| RUN dotnet restore | ||
| COPY . . | ||
| COPY --from=client-build /app/client/dist/client-app/browser src/OrderManager.Api/wwwroot/ | ||
| COPY --from=client-build /app/src/OrderManager.Api/wwwroot/browser src/OrderManager.Api/wwwroot/ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔍 Dockerfile Angular output path depends on angular.json configuration in a separate repository The COPY source path changed from Was this helpful? React with 👍 or 👎 to provide feedback.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Confirmed against the app repo: |
||
| RUN dotnet publish src/OrderManager.Api/OrderManager.Api.csproj -c Release -o /app/publish | ||
|
|
||
| # Stage 3: Runtime | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.