Update for build & deploy process
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user