Move build process from host to docker container during release process (#682)

This commit is contained in:
Ta-Ching Chen
2018-07-03 21:14:06 -07:00
committed by smruthi2187
parent 9daf97a9ab
commit 44be0f6859
7 changed files with 395 additions and 250 deletions
+8 -2
View File
@@ -1,9 +1,15 @@
FROM microsoft/dotnet:2.0.0-sdk AS builder
COPY * /proj/
RUN cd /proj && ./project-build.sh
# Build env image
FROM microsoft/dotnet:2.0-runtime
WORKDIR /fission-workdir
COPY out .
COPY --from=builder /proj/out .
EXPOSE 8888
ENTRYPOINT ["dotnet"]
CMD ["fission-dotnet20.dll"]
CMD ["fission-dotnet20.dll"]