Revert "add dockerfile"

This reverts commit ac434f6634297e0250e2bd5c8847a4bb1ff10f59.
This commit is contained in:
Chika 2021-05-17 10:58:32 +03:00
parent ac434f6634
commit 71d948eada

View File

@ -1,15 +0,0 @@
# Stage 1
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
WORKDIR /build
ENV ASPNETCORE_URLS=http://*:2121
COPY . .
RUN dotnet restore
RUN dotnet publish -c Release -o /app
# Stage 2
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS final
WORKDIR /app
COPY --from=build /app .
EXPOSE 2121
ENTRYPOINT ["dotnet", "EvoCalculator.Core.dll"]