build: update Dockerfile
This commit is contained in:
parent
9aaec2ac08
commit
c244f166d3
@ -5,6 +5,11 @@ EXPOSE 5000
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build
|
||||
WORKDIR /src
|
||||
COPY ["EvoCalculator.Core/EvoCalculator.Core.csproj", "EvoCalculator.Core/"]
|
||||
|
||||
COPY ./NuGet.Config /nuget.config
|
||||
COPY ./evoleasing_25.crt /etc/ssl/certs
|
||||
RUN update-ca-certificates
|
||||
|
||||
RUN dotnet restore "EvoCalculator.Core/EvoCalculator.Core.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/EvoCalculator.Core"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user