Merge pull request #1 from moander/dev

Avoid full rebuild every time.
This commit is contained in:
Thomas L. Kjeldsen 2015-06-14 23:31:15 +02:00
commit a68f2c17df
2 changed files with 4 additions and 2 deletions

View File

@ -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"]

View File

@ -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"]