WIP on devspaces
This commit is contained in:
parent
1b89edec15
commit
b95a487449
@ -5,12 +5,11 @@ ENV DOTNET_USE_POLLING_FILE_WATCHER=true
|
|||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["eShopOnContainers-ServicesAndWebApps.sln", "./"]
|
|
||||||
COPY ["src/ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj", "src/ApiGateways/Mobile.Bff.Shopping/aggregator/"]
|
COPY ["src/ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj", "src/ApiGateways/Mobile.Bff.Shopping/aggregator/"]
|
||||||
|
|
||||||
RUN dotnet restore -nowarn:msb3202,nu1503
|
RUN dotnet restore src/ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj -nowarn:msb3202,nu1503
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/src/ApiGateways/Mobile.Bff.Shopping/aggregator"
|
WORKDIR "/src/src/ApiGateways/Mobile.Bff.Shopping/aggregator"
|
||||||
RUN dotnet build "Mobile.Shopping.HttpAggregator.csproj"
|
RUN dotnet build --no-restore -c $BUILD_CONFIGURATION
|
||||||
|
|
||||||
CMD ["dotnet", "run", "--no-restore", "--no-build", "--no-launch-profile"]
|
CMD ["dotnet", "run", "--no-restore", "--no-build", "--no-launch-profile"]
|
@ -4,19 +4,24 @@ build:
|
|||||||
context: ..\..\..\..
|
context: ..\..\..\..
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
install:
|
install:
|
||||||
chart: charts/aggregator
|
chart: ../../../../k8s/helm/apigwms
|
||||||
values:
|
values:
|
||||||
- values.dev.yaml?
|
- values.dev.yaml?
|
||||||
- secrets.dev.yaml?
|
- secrets.dev.yaml?
|
||||||
|
- ..\..\..\..\k8s\helm\app.yaml
|
||||||
|
- ..\..\..\..\k8s\helm\inf.yaml
|
||||||
set:
|
set:
|
||||||
image:
|
image:
|
||||||
tag: $(tag)
|
tag: $(tag)
|
||||||
pullPolicy: Never
|
pullPolicy: Never
|
||||||
|
inf:
|
||||||
|
k8s:
|
||||||
|
dns: "$(spacePrefix)apigwms$(hostSuffix)"
|
||||||
disableProbes: true
|
disableProbes: true
|
||||||
ingress:
|
ingress:
|
||||||
hosts:
|
hosts:
|
||||||
# This expands to [space.s.]aggregator.<guid>.<region>.aksapp.io
|
# This expands to [space.s.]apigwms.<guid>.<region>.aksapp.io
|
||||||
- $(spacePrefix)aggregator$(hostSuffix)
|
- $(spacePrefix)apigwms$(hostSuffix)
|
||||||
configurations:
|
configurations:
|
||||||
develop:
|
develop:
|
||||||
build:
|
build:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user