Skip to content

Commit

Permalink
fix(docker): copy fortawesome files
Browse files Browse the repository at this point in the history
copy over missing fortawesome files for the CLI-bundler when using the scaffold-navigation template
  • Loading branch information
zewa666 authored and 3cp committed Apr 17, 2020
1 parent b8480a4 commit fa63b0a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions skeleton/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ COPY *.* ./

# Copy source files
COPY src ./src
// @if feat['scaffold-navigation']

# Copy @fortawesome files
COPY @fortawesome ./@fortawesome
// @endif


// @if feat.cypress || feat.protractor || feat.jest || feat.karma
Expand Down Expand Up @@ -110,6 +115,9 @@ COPY --from=publish-stage /app/wwwroot/ .
COPY --from=publish-stage /app/scripts/ ./scripts/
COPY --from=publish-stage /app/index.html/ .
// @endif
// @if feat['scaffold-navigation'] && feat["cli-bundler"] && !feat["dotnet-core"]
COPY --from=publish-stage /app/@fortawesome/ ./@fortawesome/
// @endif

EXPOSE 80

Expand Down

0 comments on commit fa63b0a

Please sign in to comment.