浏览代码

Start of dockerfile

Nick Babcock 7 年之前
父节点
当前提交
d17c5ce217
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      Dockerfile

+ 9 - 0
Dockerfile

@@ -0,0 +1,9 @@
+FROM mono:5.4.0.201 as builder
+COPY . /tmp/
+WORKDIR /tmp
+RUN msbuild /t:restore /t:build /p:Configuration=Release
+
+FROM mono:5.4.0.201
+COPY --from=builder /tmp/OhmGraphite/bin/Release/net46 /opt/OhmGraphite
+WORKDIR /opt/OhmGraphite
+CMD mono OhmGraphite.exe