Update all the things

This commit is contained in:
Robert Marshall 2023-02-18 13:47:09 +00:00
parent 09cdc84367
commit 09e545ec3e
18 changed files with 379 additions and 87 deletions

View file

@ -1,10 +1,9 @@
FROM mcr.microsoft.com/dotnet/sdk:3.1 AS build-env
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env
WORKDIR /app
COPY . ./
RUN ./build.sh
RUN sed -i "s/<DatabaseConnectionString>/${ConnectionString}/g" output/appsettings.json
FROM mcr.microsoft.com/dotnet/aspnet:3.1
FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app
COPY --from=build-env /app/output .
ENTRYPOINT ["dotnet", "Robware.Api.Auth.dll"]