cloudnet-compose/worker/Dockerfile

11 lines
235 B
Docker
Raw Normal View History

FROM microsoft/dotnet:1.0.0-preview2-sdk
2015-11-15 20:59:29 +01:00
2016-06-30 22:35:10 +02:00
WORKDIR /code
2015-11-15 20:59:29 +01:00
ADD src/Worker /code/src/Worker
2015-11-15 20:59:29 +01:00
2016-06-11 19:21:26 +02:00
RUN dotnet restore -v minimal src/ \
&& dotnet publish -c Release -o ./ src/Worker/ \
&& rm -rf src/ $HOME/.nuget/
2015-11-15 20:59:29 +01:00
CMD dotnet Worker.dll