Added docker-compose. Updated startups for API and Web layer.
This commit is contained in:
8
JSMR.UI.Blazor/Dockerfile
Normal file
8
JSMR.UI.Blazor/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN dotnet publish -c Release -o out
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY --from=build /app/out/wwwroot /usr/share/nginx/html
|
||||
COPY JSMR.UI.Blazor/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
Reference in New Issue
Block a user