mirror of
https://github.com/excaliburpartners/OmniLinkBridge
synced 2024-12-22 18:52:24 +00:00
78694b386d
- Save subscriptions on change
17 lines
380 B
Docker
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" ] |