2017-10-02 06:50:53 +02:00
|
|
|
FROM microsoft/dotnet:2.0.0-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
|
|
|
|
2016-11-15 23:56:00 +01:00
|
|
|
ADD src/Worker /code/src/Worker
|
2015-11-15 20:59:29 +01:00
|
|
|
|
2017-04-07 21:33:22 +02:00
|
|
|
RUN dotnet restore -v minimal src/Worker \
|
|
|
|
&& dotnet publish -c Release -o "./" "src/Worker/"
|
2015-11-15 20:59:29 +01:00
|
|
|
|
2017-04-07 21:33:22 +02:00
|
|
|
CMD dotnet src/Worker/Worker.dll
|