Update for build & deploy process

This commit is contained in:
Khajonpot
2020-02-20 21:26:40 +07:00
parent 8b98125e49
commit 815f38a289
5 changed files with 36 additions and 9 deletions

View File

@@ -9,9 +9,6 @@ RUN dotnet restore
COPY . ./
RUN dotnet publish -c Release -o out
ENV ASPNETCORE_ENVIRONMENT=Production
RUN ["dotnet","ef","database","update"]
# Build runtime image
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2
WORKDIR /app