Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 7a1f3da

Browse files
move docs building later in the pipeline
1 parent 4d5fa09 commit 7a1f3da

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ RUN dotnet restore --runtime=alpine.3.7-x64
2020

2121
COPY ./src .
2222

23-
WORKDIR /docs
24-
25-
COPY ./docs/* ./
26-
2723
WORKDIR /build
2824

2925
COPY ./build/build.csproj .
@@ -32,6 +28,12 @@ RUN dotnet restore
3228

3329
COPY ./build .
3430

31+
WORKDIR /docs
32+
33+
COPY ./docs/* ./
34+
35+
RUN dotnet restore
36+
3537
WORKDIR /
3638

3739
RUN TRAVIS_BUILD_NUMBER=$TRAVIS_BUILD_NUMBER \

0 commit comments

Comments
 (0)