Skip to content

Commit

Permalink
Merge pull request #1 from moander/dev
Browse files Browse the repository at this point in the history
Avoid full rebuild every time.
  • Loading branch information
tlk committed Jun 14, 2015
2 parents a3d268b + 037ba1d commit a68f2c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion samples/latest/HelloMvc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM microsoft/aspnet

COPY . /app
COPY project.json /app/
WORKDIR /app
RUN ["dnu", "restore"]
COPY . /app

EXPOSE 5004
ENTRYPOINT ["dnx", "project.json", "kestrel"]
3 changes: 2 additions & 1 deletion samples/latest/HelloWeb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM microsoft/aspnet

COPY . /app
COPY project.json /app/
WORKDIR /app
RUN ["dnu", "restore"]
COPY . /app

EXPOSE 5004
ENTRYPOINT ["dnx", "project.json", "kestrel"]

0 comments on commit a68f2c1

Please sign in to comment.