File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed
Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
2+
3+ RUN curl -fsSL https://deb.nodesource.com/setup_16.x | sh -
4+ RUN apt-get update && apt-get install -y nodejs
5+
6+ WORKDIR /app
7+ COPY . ./
8+ RUN npm ci
9+ WORKDIR /app/example
10+ RUN npm ci
11+ RUN npx webpack-cli --mode production
12+
13+ FROM nginx:1.22.0
14+ COPY --from=build /app/example/dist /usr/share/nginx/html
Original file line number Diff line number Diff line change 1+ version : " 3"
2+
3+ services :
4+ server :
5+ build : .
6+ ports :
7+ - 80:80
Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 " />
55 < meta name ="viewport " content ="width=device-width " />
66 < title > Browser C# Example</ title >
7+ < base href ="/browser-csharp/ "/>
78 < style >
89 * {
910 box-sizing : border-box;
You can’t perform that action at this time.
0 commit comments