Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

15 lines (13 sloc) 463 Bytes
FROM mcr.microsoft.com/dotnet/core/sdk:2.2 as build
WORKDIR /src
COPY . .
RUN dotnet restore
RUN dotnet publish -c Release -r linux-arm
# RUN dotnet publish -c Release
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim-arm32v7
# FROM mcr.microsoft.com/dotnet/core/aspnet:2.2
WORKDIR /app
COPY --from=build /src/bin/Release/netcoreapp2.2/linux-arm/publish .
# COPY --from=build /src/bin/Release/netcoreapp2.2/publish .
EXPOSE 80
ENTRYPOINT dotnet web.dll
You can’t perform that action at this time.