Add Docker stuff
This commit is contained in:
parent
8f3ea03d75
commit
09cdc84367
2 changed files with 16 additions and 31 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM mcr.microsoft.com/dotnet/sdk:3.1 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
|
||||
WORKDIR /app
|
||||
COPY --from=build-env /app/output .
|
||||
ENTRYPOINT ["dotnet", "Robware.Api.Auth.dll"]
|
Loading…
Add table
Add a link
Reference in a new issue