cloudnet-compose/worker/Dockerfile
2017-04-07 12:33:22 -07:00

10 lines
213 B
Docker

FROM microsoft/dotnet:1.1.1-sdk
WORKDIR /code
ADD src/Worker /code/src/Worker
RUN dotnet restore -v minimal src/Worker \
&& dotnet publish -c Release -o "./" "src/Worker/"
CMD dotnet src/Worker/Worker.dll