Skip to content

Commit b1620e4

Browse files
committed
chore: 调整软件安装顺序
1 parent 9004a00 commit b1620e4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/BootstrapBlazor.Server/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
55
WORKDIR /app
66
EXPOSE 8080
77

8-
RUN apt-get update && apt-get install -y wget
9-
RUN apt install fonts-wqy-microhei
10-
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && apt install ./google-chrome-stable_current_amd64.deb
8+
RUN apt-get update && apt-get install -y \
9+
wget \
10+
fonts-wqy-microhei
11+
RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
12+
RUN apt install ./google-chrome-stable_current_amd64.deb
1113

1214
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
1315
WORKDIR /

0 commit comments

Comments
 (0)