Move build process from host to docker container during release process (#682)
This commit is contained in:
committed by
smruthi2187
parent
9daf97a9ab
commit
44be0f6859
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user