Add Dockerfile to the HelloMvc and HelloWeb sample projects

This commit is contained in:
Thomas L. Kjeldsen 2015-05-02 23:40:37 +02:00
parent 94498c77ee
commit 8fe7a45ccb
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
FROM microsoft/aspnet
COPY . /app
WORKDIR /app
RUN ["dnu", "restore"]
EXPOSE 5004
ENTRYPOINT ["dnx", "project.json", "kestrel"]

View File

@ -0,0 +1,8 @@
FROM microsoft/aspnet
COPY . /app
WORKDIR /app
RUN ["dnu", "restore"]
EXPOSE 5004
ENTRYPOINT ["dnx", "project.json", "kestrel"]