Skip to content

Commit 3d94818

Browse files
authored
Fixing deploy sample website (#296)
1 parent 8688ed2 commit 3d94818

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

docs/Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM squidfunk/mkdocs-material:9.7.1
22

3-
RUN \
4-
apk add --no-cache \
5-
git \
6-
git-fast-import \
7-
openssh \
3+
RUN apk add --no-cache \
4+
git \
5+
git-fast-import \
6+
openssh \
7+
&& apk add --no-cache --virtual .build gcc musl-dev \
88
&& pip install --no-cache-dir \
9-
'markdown-include' \
10-
'mike' \
11-
'mkdocs-exclude' \
12-
'mkdocs-macros-plugin' \
13-
'mkdocs-git-revision-date-localized-plugin' \
9+
'markdown-include==0.5.1' \
10+
'mike==1.1.2' \
11+
'mkdocs-exclude==1.0.2' \
12+
'mkdocs-macros-plugin==0.5.12' \
13+
&& apk del .build gcc musl-dev \
1414
&& rm -rf /tmp/*

samples/AfterBlazorServerSide/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ EXPOSE 443
77

88
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
99
WORKDIR /src
10+
COPY ["Directory.Build.props", "./"]
1011
COPY ["samples/AfterBlazorServerSide/AfterBlazorServerSide.csproj", "samples/AfterBlazorServerSide/"]
1112
COPY ["src/BlazorWebFormsComponents/BlazorWebFormsComponents.csproj", "src/BlazorWebFormsComponents/"]
1213
COPY ["samples/SharedSampleObjects/SharedSampleObjects.csproj", "samples/SharedSampleObjects/"]

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json",
33
"version": "0.13",
44
"publicReleaseRefSpec": [
55
"^refs/heads/master$",

0 commit comments

Comments
 (0)