Skip to content

Commit

Permalink
chore(Docker): update docker file for dotnet-core template
Browse files Browse the repository at this point in the history
  • Loading branch information
shahabganji committed Sep 6, 2019
1 parent 7243ce9 commit de9902b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion skeleton/common/Dockerfile__if_docker
Expand Up @@ -98,10 +98,15 @@ RUN au build --env prod
FROM nginx:alpine as run-time
COPY nginx.conf /etc/nginx/nginx.conf
WORKDIR /usr/share/nginx/html
// @if feat.webpack

// @if feat.webpack && !feat["dotnet-core"]
COPY --from=publish /app/dist/ .
// @endif

// @if feat["dotnet-core"]
COPY --from=publish /app/wwwroot/dist/ .
// @endif

// @if feat["cli-bundler"]
// @if feat["scaffold-navigation"]
COPY --from=publish /app/bootstrap/dist/ ./bootstrap/dist/
Expand Down

0 comments on commit de9902b

Please sign in to comment.