Files
jsmr/JSMR.UI.Blazor/Dockerfile
Brian Bicknell ae8d7d34d9
Some checks failed
ci / publish-image (push) Has been skipped
ci / build-test (push) Failing after 1m32s
Migrated from .NET 9 to .NET 10.
2026-02-25 20:18:38 -05:00

8 lines
244 B
Docker

FROM mcr.microsoft.com/dotnet/sdk:10.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