Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 669 Bytes

README.md

File metadata and controls

29 lines (25 loc) · 669 Bytes

aspnet-coreclr-mvc-node

Docker base image which includes a bunch of asp.net core mvc packages already installed PLUS node.js, bower and gulp.

Docker hub: https://hub.docker.com/r/cl0sey/aspnet-coreclr-mvc-node/

To use:

docker pull cl0sey/aspnet-coreclr-mvc-node

In your Dockerfile:

FROM aspnet-coreclr-mvc-node:latest
ADD . /app
WORKDIR /app
RUN "dnu" "restore"
RUN "dnu" "publish"
EXPOSE 5000
ENTRYPOINT ["bin/output/approot/web"]

Also in your project.json, ensure your Kestrel server is allowing port 5000 out for all to see:

...
"commands": {
  "web": "Microsoft.AspNet.Server.Kestrel --server.urls=http://*:5000/"
},
...