Skip to content

Commit 2040c95

Browse files
authored
chore(Docker): add pupeteersharp support (#6615)
* chore: update expose port to 8080 * chore: 更新依赖保证发布时依赖可用 * chore: 更新依赖 * chore: 更新 Dockerfile * chore: 更新自动化脚本分支 * chore: 更新 dockerfile 脚本 * chore: 增加 build 脚本 * doc: 更新 OnlineExcel 协作示例 * chore: 调整协作服务 * chore: 增加中文支持 * chore: 调整命令顺序 * chore: 调整软件安装顺序 * chore: 调整顺序 * chore: 增加删除包脚本 * chore: bump version 9.9.2
1 parent 7504bbd commit 2040c95

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- pack
77
- release
8+
- docker
89

910
jobs:
1011
docker:

src/BootstrapBlazor.Server/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,21 @@
33

44
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
55
WORKDIR /app
6-
EXPOSE 80
6+
EXPOSE 8080
7+
8+
RUN apt-get update && apt-get install -y wget
9+
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
10+
RUN apt install -y ./google-chrome-stable_current_amd64.deb
11+
RUN rm ./google-chrome-stable_current_amd64.deb
12+
RUN apt install -y fonts-wqy-microhei
713

814
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
915
WORKDIR /
1016
COPY . .
1117

1218
WORKDIR "src/BootstrapBlazor.Server"
1319
FROM build AS publish
20+
RUN dotnet build
1421
RUN dotnet publish -c Release -o /app
1522

1623
FROM base AS final

src/BootstrapBlazor/BootstrapBlazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>9.9.2-beta05</Version>
4+
<Version>9.9.2</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

0 commit comments

Comments
 (0)