-
-
Notifications
You must be signed in to change notification settings - Fork 362
chore(Docker): add pupeteersharp support #6615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
80ae9b3
chore: update expose port to 8080
ArgoZhang 4ee109a
chore: 更新依赖保证发布时依赖可用
ArgoZhang db9f689
Merge branch 'chore-da-region' into chore-docker
ArgoZhang b65bd25
chore: 更新依赖
ArgoZhang 62ae72a
chore: 更新 Dockerfile
ArgoZhang 516704d
Merge branch 'main' into chore-docker
ArgoZhang 1e3548c
chore: 更新自动化脚本分支
ArgoZhang c479ffa
chore: 更新 dockerfile 脚本
ArgoZhang f24f1f8
chore: 增加 build 脚本
ArgoZhang 0ac1283
Merge branch 'main' into docker
ArgoZhang adf3c06
doc: 更新 OnlineExcel 协作示例
ArgoZhang a68be42
chore: 调整协作服务
ArgoZhang c2f7356
Merge branch 'doc-task' into docker
ArgoZhang bd8ffaf
chore: 增加中文支持
ArgoZhang 9004a00
chore: 调整命令顺序
ArgoZhang b1620e4
chore: 调整软件安装顺序
ArgoZhang 3bbb645
chore: 调整顺序
ArgoZhang ffcbf5e
chore: 增加删除包脚本
ArgoZhang 7785159
Merge branch 'main' into docker
ArgoZhang 23a622c
chore: bump version 9.9.2
ArgoZhang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ on: | |
| branches: | ||
| - pack | ||
| - release | ||
| - docker | ||
|
|
||
| jobs: | ||
| docker: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,14 +3,21 @@ | |||||||||||||||
|
|
||||||||||||||||
| FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base | ||||||||||||||||
| WORKDIR /app | ||||||||||||||||
| EXPOSE 80 | ||||||||||||||||
| EXPOSE 8080 | ||||||||||||||||
|
|
||||||||||||||||
| RUN apt-get update && apt-get install -y wget | ||||||||||||||||
| RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | ||||||||||||||||
| RUN apt install -y ./google-chrome-stable_current_amd64.deb | ||||||||||||||||
| RUN rm ./google-chrome-stable_current_amd64.deb | ||||||||||||||||
| RUN apt install -y fonts-wqy-microhei | ||||||||||||||||
|
|
||||||||||||||||
| FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build | ||||||||||||||||
| WORKDIR / | ||||||||||||||||
| COPY . . | ||||||||||||||||
|
|
||||||||||||||||
| WORKDIR "src/BootstrapBlazor.Server" | ||||||||||||||||
| FROM build AS publish | ||||||||||||||||
| RUN dotnet build | ||||||||||||||||
| RUN dotnet publish -c Release -o /app | ||||||||||||||||
|
Comment on lines
18
to
21
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Running 'dotnet build' before 'dotnet publish' may be redundant. Consider removing the separate 'dotnet build' step to simplify the process, as 'dotnet publish' already includes a build.
Suggested change
|
||||||||||||||||
|
|
||||||||||||||||
| FROM base AS final | ||||||||||||||||
|
|
||||||||||||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (bug_risk): Installing Chrome via a downloaded .deb may introduce dependency issues if not handled explicitly.
Add 'apt-get -f install' after installing the .deb to automatically resolve any missing dependencies.