mirror of
https://github.com/excaliburpartners/OmniLinkBridge
synced 2024-12-23 03:02:24 +00:00
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" ]
|