10 lines
220 B
Docker
10 lines
220 B
Docker
FROM microsoft/dotnet:2.0.0-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"] |