Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
Update with fixed docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnwildermuth committed Nov 13, 2020
1 parent a857453 commit 6eef0b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/WilderBlog/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt-get install -y nodejs
FROM wilderminds/net5-npm:15.0 AS build
WORKDIR /src
COPY ["WilderBlog/WilderBlog.csproj", "WilderBlog/"]
COPY ["WilderBlog.Data/WilderBlog.Data.csproj", "WilderBlog.Data/"]
Expand Down
2 changes: 2 additions & 0 deletions src/WilderBlog/WilderBlog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
<Exec Command="node node_modules/gulp/bin/gulp.js clean" />
<Exec Command="node node_modules/gulp/bin/gulp.js minify" />
<Exec Command="node node_modules/gulp/bin/gulp.js scripts" />
<Exec Command="npm install"
WorkingDirectory="client/" />
<Exec Command="npm run build" WorkingDirectory="client/" />
</Target>

Expand Down
1 change: 1 addition & 0 deletions src/WilderBlog/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"vuex": "^4.0.0-0"
},
"devDependencies": {
"@vue/cli": "4.5.8",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-typescript": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
Expand Down

0 comments on commit 6eef0b0

Please sign in to comment.