cloudnet-compose/worker/Dockerfile
Mano Marks fe98cde7f4 Java and .NET Workers can co-exist
Added a docker-compose-javaworker.yml file and Dockerfile.j as well as restoring the worker Java source so there are two different versions now.
2016-11-15 14:56:00 -08:00

11 lines
235 B
Docker

FROM microsoft/dotnet:1.0.0-preview2-sdk
WORKDIR /code
ADD src/Worker /code/src/Worker
RUN dotnet restore -v minimal src/ \
&& dotnet publish -c Release -o ./ src/Worker/ \
&& rm -rf src/ $HOME/.nuget/
CMD dotnet Worker.dll