diff --git a/src/FrontOffice.Main/Dockerfile b/src/FrontOffice.Main/Dockerfile index 7a8b61f..09d3d59 100644 --- a/src/FrontOffice.Main/Dockerfile +++ b/src/FrontOffice.Main/Dockerfile @@ -19,6 +19,9 @@ RUN dotnet publish "FrontOffice.Main.csproj" -c Release -o /app/publish FROM nginx:alpine AS final WORKDIR /usr/share/nginx/html +# Remove default nginx files +RUN rm -rf /usr/share/nginx/html/* + # Copy published wwwroot (Blazor WASM output) COPY --from=build /app/publish/wwwroot .