Revert "add dockerfile"
This reverts commit ac434f6634297e0250e2bd5c8847a4bb1ff10f59.
This commit is contained in:
parent
ac434f6634
commit
71d948eada
15
Dockerfile
15
Dockerfile
@ -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"]
|
|
||||||
Loading…
x
Reference in New Issue
Block a user