5379644169
Changing base image to Microsoft's release version
12 lines
203 B
Docker
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
|