Dockerfile 257 B

123456789
  1. FROM mono:5.4.0.201 as builder
  2. COPY . /tmp/
  3. WORKDIR /tmp
  4. RUN msbuild /t:restore /t:build /p:Configuration=Release
  5. FROM mono:5.4.0.201
  6. COPY --from=builder /tmp/OhmGraphite/bin/Release/net46 /opt/OhmGraphite
  7. WORKDIR /opt/OhmGraphite
  8. CMD mono OhmGraphite.exe