cloudnet-compose/worker/Dockerfile
Mano Marks 5379644169 Updating Worker Dockerfile
Changing base image to Microsoft's release version
2016-09-22 13:25:11 -07:00

12 lines
203 B
Docker

FROM microsoft/aspnet
WORKDIR /app
ADD src/ /app/src/
RUN dotnet restore -v minimal src/ \
&& dotnet publish -c Release -o ./ src/Worker/ \
&& rm -rf src/ $HOME/.nuget/
CMD dotnet Worker.dll