Sfoglia il codice sorgente

Start of dockerfile

Nick Babcock 7 anni fa
parent
commit
d17c5ce217
1 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  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