Merge pull request 'Added nexus sourc to docker files' (#23) from setup into master
Reviewed-on: #23
This commit was merged in pull request #23.
This commit is contained in:
@@ -9,10 +9,10 @@ WORKDIR /app_source
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources
|
RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
|
||||||
|
|
||||||
WORKDIR "/app_source/src/LiteCharmsSecurity.Admin.Api"
|
WORKDIR "/app_source/src/LiteCharmsSecurity.Admin.Api"
|
||||||
RUN dotnet build "LiteCharmsSecurity.Admin.Api.csproj" -c Release -o /app/build
|
RUN dotnet build "LiteCharmsSecurity.Admin.Api.csproj" -c Release -o /app/build --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish "LiteCharmsSecurity.Admin.Api.csproj" -c Release --no-restore -o /app/publish
|
RUN dotnet publish "LiteCharmsSecurity.Admin.Api.csproj" -c Release --no-restore -o /app/publish
|
||||||
|
|||||||
@@ -18,10 +18,10 @@ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources
|
RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
|
||||||
|
|
||||||
WORKDIR "/app_source/src/LiteCharmsSecurity.Admin"
|
WORKDIR "/app_source/src/LiteCharmsSecurity.Admin"
|
||||||
RUN dotnet build "LiteCharmsSecurity.Admin.csproj" -c Release -o /app/build
|
RUN dotnet build "LiteCharmsSecurity.Admin.csproj" -c Release -o /app/build --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish "LiteCharmsSecurity.Admin.csproj" -c Release --no-restore -o /app/publish
|
RUN dotnet publish "LiteCharmsSecurity.Admin.csproj" -c Release --no-restore -o /app/publish
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ WORKDIR /app_source
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources
|
RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
|
||||||
|
|
||||||
WORKDIR "/app_source/src/LiteCharmsSecurity.STS.Identity"
|
WORKDIR "/app_source/src/LiteCharmsSecurity.STS.Identity"
|
||||||
RUN dotnet build "LiteCharmsSecurity.STS.Identity.csproj" -c Release -o /app/build
|
RUN dotnet build "LiteCharmsSecurity.STS.Identity.csproj" -c Release -o /app/build --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish "LiteCharmsSecurity.STS.Identity.csproj" -c Release --no-restore -o /app/publish
|
RUN dotnet publish "LiteCharmsSecurity.STS.Identity.csproj" -c Release --no-restore -o /app/publish
|
||||||
|
|||||||
Reference in New Issue
Block a user