OmniLinkBridge/Dockerfile
Ryan Wagoner 78694b386d 1.1.1 - Added docker support
- Save subscriptions on change
2018-10-18 15:50:21 -04:00

17 lines
380 B
Docker

FROM mono:latest
COPY . /build
RUN nuget restore /build/OmniLinkBridge.sln
RUN msbuild /build/OmniLinkBridge.sln /t:Build /p:Configuration=Release
RUN mv /build/OmniLinkBridge/bin/Release /app
RUN rm -rf /build
EXPOSE 8000/tcp
VOLUME /config
WORKDIR /app
CMD [ "mono", "OmniLinkBridge.exe", "-i", "-c", "/config/OmniLinkBridge.ini", "-s", "/config/WebSubscriptions.json" ]